Commit Graph

8881 Commits

Author SHA1 Message Date
Bruce Momjian 7a2a1acd52 Add 2001-01-23 04:01:17 +00:00
Bruce Momjian 56970c1bc0 Fix some int4->int32. 2001-01-23 03:10:25 +00:00
Tom Lane b686fb5bf1 Remove no-longer-needed restriction against referencing system
attributes in a FieldSelect node --- all the places that manipulate
these work just fine with system attribute numbers.  OK, it's a new
feature, so shoot me ...
2001-01-23 02:32:26 +00:00
Bruce Momjian e5cdecd01b Update TODO list. 2001-01-23 02:27:04 +00:00
Bruce Momjian 7e533da492 Rename int4 to int32 in a few places. 2001-01-23 01:48:17 +00:00
Bruce Momjian 26aa69a2f6 Add threaded mention email. 2001-01-23 01:23:13 +00:00
Bruce Momjian 746d7e9145 Update TODO list. 2001-01-23 01:21:22 +00:00
Bruce Momjian fc031fbe5c Update FAQ. 2001-01-23 01:11:34 +00:00
Bruce Momjian c805491792 Update FAQ. 2001-01-23 01:11:06 +00:00
Tom Lane 728b0aa290 Improve realloc() per idea from Karel Zak --- if chunk to be enlarged is
at end of its block, maybe we can enlarge it in-place.
2001-01-23 01:01:36 +00:00
Bruce Momjian c0bb21b369 Update FAQ. 2001-01-23 01:00:55 +00:00
Bruce Momjian d90703aaf2 Update TODO list. 2001-01-23 00:50:10 +00:00
Bruce Momjian 18f45e9aed Update TODO list. 2001-01-23 00:49:13 +00:00
Bruce Momjian f60e4347a8 Update TODO list. 2001-01-23 00:02:33 +00:00
Peter Eisentraut 21a3857f1f Rip out table expression section from SQL syntax chapter and develop it
into new chapter on query (SELECT) syntax.  In the end this should become
a narrative and example-filled counterpart to the SELECT reference page.
2001-01-22 23:34:33 +00:00
Tom Lane e9c936ff38 Remove rangechecks on errno; just call strerror unconditionally. This
eliminates a raft of portability issues, including whether sys_nerr
exists, whether the platform has any valid negative errnos, etc.  The
downside is minimal: errno shouldn't ever contain an invalid value anyway,
and if it does, reasonably modern versions of strerror will not choke.
This rangecheck idea seemed good at the time, but it's clearly a net loss,
and I apologize to all concerned for having ever put it in.
2001-01-22 23:28:52 +00:00
Bruce Momjian 60b282fd26 Put back old MS FAQ> 2001-01-22 22:54:07 +00:00
Tom Lane e84c429062 Clean up lockmanager data structures some more, in preparation for planned
rewrite of deadlock checking.  Lock holder objects are now reachable from
the associated LOCK as well as from the owning PROC.  This makes it
practical to find all the processes holding a lock, as well as all those
waiting on the lock.  Also, clean up some of the grottier aspects of the
SHMQueue API, and cause the waitProcs list to be stored in the intuitive
direction instead of the nonintuitive one.  (Bet you didn't know that
the code followed the 'prev' link to get to the next waiting process,
instead of the 'next' link.  It doesn't do that anymore.)
2001-01-22 22:30:06 +00:00
Bruce Momjian 56f5f2bf82 Update FAQ. 2001-01-22 17:20:12 +00:00
Michael Meskes 88ce6a2ba0 Synced preproc.y with gram.y and added missing include file to pgc.l. 2001-01-22 17:05:50 +00:00
Bruce Momjian 0fada37f5d Update FAQ. 2001-01-22 16:35:35 +00:00
Tom Lane 7e0919136a Minor fixes. 2001-01-22 16:11:17 +00:00
Bruce Momjian 505cdd5873 Update FAQ. 2001-01-22 06:27:41 +00:00
Bruce Momjian 5f93794f1e Update FAQ. 2001-01-22 05:56:26 +00:00
Bruce Momjian 64b3af90f1 Add. 2001-01-22 03:47:22 +00:00
Bruce Momjian ede3d259fc Update. 2001-01-22 03:36:58 +00:00
Bruce Momjian bf01c7983b Make Kevin Lo's MS FAQ the default. 2001-01-22 03:33:55 +00:00
Tom Lane c9fe128316 Clean up per-tuple memory leaks in trigger firing and plpgsql
expression evaluation.
2001-01-22 00:50:07 +00:00
Tom Lane 59a3a40149 All the global memory contexts should be DLLIMPORT, if any are. 2001-01-22 00:18:13 +00:00
Bruce Momjian d90eb434e4 Update FAQ. 2001-01-21 22:16:56 +00:00
Peter Eisentraut 4f34f55d3d Description of table expressions, including join syntax, from Robert B.
Easter <reaster@comptechnews.com>, heavily massaged by me.  Also cleaned up
value expressions a bit.
2001-01-21 22:02:01 +00:00
Bruce Momjian d7d51bc138 Put quotes around environment variables. 2001-01-21 05:16:45 +00:00
Bruce Momjian 11d9d2cfaa Update FAQ. 2001-01-21 05:01:57 +00:00
Bruce Momjian b8f23aff82 Back out patch for BLOB operations until approval. 2001-01-21 03:50:25 +00:00
Bruce Momjian c655935217 Hello,
here is the patch attached which do check in each BLOB operation, if we are
in transaction, and raise an error otherwise. This will prevent such mistakes.

--
Sincerely Yours,
Denis Perchine
2001-01-21 03:49:14 +00:00
Tom Lane 023a48b811 Deal with C++ incompatibility of sys_nerr declaration by taking it out
of c.h altogether, and putting it into the only places that use it
(elog.c and exc.c), instead.  Modify these routines to check for a
NULL or empty-string return from strerror, too, since some platforms
define strerror to return empty string for unknown errors (what a useless
definition that is ...).  Clean up some cruft in ExcPrint while at it.
2001-01-21 00:59:26 +00:00
Tom Lane 37fd198456 Get rid of sunos4-only strerror() macro, and arrange to use the
implementation in backend/port/strerror.c if configure finds no strerror
in libc, same as we do for snprintf and inet_aton.
2001-01-20 23:07:27 +00:00
Tom Lane 531cd44fd1 Remove no-longer-used STRERROR2 config symbol. 2001-01-20 22:56:33 +00:00
Tom Lane a2405d5554 Get rid of initdb -t bugs by the simple expedient of getting rid of
initdb -t.  This option is obsoleted by 7.1's ability to drop and
recreate template1 during normal operation.
2001-01-20 22:09:24 +00:00
Peter Eisentraut 74bbe8097d Replace some oldish, non-SQL'ish elements with more standard forms. (cast
syntax, type names, function names, etc.)
2001-01-20 20:59:29 +00:00
Bruce Momjian 8453208634 Add. 2001-01-20 18:55:35 +00:00
Tom Lane 1a02edae60 Give a good error message for what's likely to be a common syntax error,
namely omitting the alias clause for a sub-SELECT in FROM.
2001-01-20 17:37:52 +00:00
Bruce Momjian e832ae337d Add emails about transaction rollover. 2001-01-20 05:00:03 +00:00
Bruce Momjian 5647b72e02 Update TODO list. 2001-01-20 04:59:36 +00:00
Bruce Momjian 9fe2255e08 Update TODO list. 2001-01-20 04:57:11 +00:00
Bruce Momjian 4b1e934894 Add. 2001-01-20 04:46:46 +00:00
Bruce Momjian 9e250f7aa3 Update TODO list. 2001-01-20 04:46:04 +00:00
Bruce Momjian 923513b52f Move anoncvs to top of docs, then put cvs tree. Hope that is OK. Seems
more logical.
2001-01-20 04:16:55 +00:00
Peter Eisentraut 19cba0cc1b Add missing piece of BitString support to node output functions. Expand
and remove IsA_Value macro.
2001-01-20 00:15:59 +00:00
Bruce Momjian d128852358 In the Programmer's Guide, the sample code for accessing large objects
from libpq has two functions with memory leaks.

The functions pickout() and overwrite() malloc space for buf which is
never freed.

See
http://www.postgresql.org/users-lounge/docs/7.0/programmer/largeobjects3207.htm

This problem is also in the 6.5 docs at
http://www.postgresql.org/users-lounge/docs/6.5/programmer/x3184.htm

Nishad Prakash
2001-01-20 00:05:54 +00:00