Filter:

Commits in February 2002

Commits40 commits of which 3 backported
0Author
40Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterBack-patch fix for errors reported at transaction end.
b233e590
REL7_2_STABLE7.2.1
No linked threadFeb 27, 2002
CommitterTweak pg_exec_query_string so that we close down transaction command before reporting command-complete message for the final command of a query string. This way, any errors detected during finish_xact_command (such as RI violations) will appear to be part of the final command, rather than coming out after the command is reported complete. This avoids confusing PQendcopy and other not-overly-bright clients. Per Lee Harr's bug report of 25-Feb-02.
fdc60bd9
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 27, 2002
Committer#ifdef out pg_dump's check on whether a sequence's sequence_name field matches the sequence name from pg_class. This fails if the sequence has been renamed, and seems rather pointless in any case. Also improve a couple of error messages about inconsistencies.
af1b72d8
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 27, 2002
CommitterParanoia about data structure lifetime ...
04cb9a6a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 27, 2002
CommitterClean up BeginCommand and related routines. BeginCommand and EndCommand are now both invoked once per received SQL command (raw parsetree) from pg_exec_query_string. BeginCommand is actually just an empty routine at the moment --- all its former operations have been pushed into tuple receiver setup routines in printtup.c. This makes for a clean distinction between BeginCommand/EndCommand (once per command) and the tuple receiver setup/teardown routines (once per ExecutorRun call), whereas the old code was quite ad hoc. Along the way, clean up the calling conventions for ExecutorRun a little bit.
6779c55c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 27, 2002
CommitterBack-patch fix for command completion report handling. This is primarily needed so that INSERTing a row still reports the row's OID even when there are ON INSERT rules firing additional queries.
75c07d5b
REL7_2_STABLE7.2.1
No linked threadFeb 26, 2002
CommitterRestructure command-completion-report code so that there is just one report for each received SQL command, regardless of rewriting activity. Also ensure that this report comes from the 'original' command, not the last command generated by rewrite; this fixes 7.2 breakage for INSERT commands that have actions added by rules. Fernando Nasser and Tom Lane.
56ee2ecb
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 26, 2002
CommitterCorrect typo noticed by Christopher Kings-Lynne.
f71dc6d0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 26, 2002
CommitterUse quote-marks to try to clarify a plpgsql error message, per gripe from Dan Langille.
29e3ef0f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 26, 2002
CommitterBackportedTweak psql's \connect command to not downcase unquoted database and user names. This is a temporary measure to allow backwards compatibility with 7.2 and earlier pg_dump. 7.2.1 and later pg_dump will double-quote mixed case names in \connect. Once we feel that older dumps are not a problem anymore, we can revert this change and treat \connect arguments as normal SQL identifiers.
86a07143
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+23 more
No linked threadFeb 25, 2002
CommitterAdd note that BLCKSZ must be a power of 2.
f70a7e38
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 25, 2002
CommitterTry to make makefile actually work ...
d6198ee3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 25, 2002
CommitterFix bogus createdb option syntax recommended by initlocation message.
c3fe58ed
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 24, 2002
CommitterFix copy-and-paste typo.
e43e20ce
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 24, 2002
CommitterAdd -O/--owner switch to createdb script, in support of new OWNER option for CREATE DATABASE.
75e5e20d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 24, 2002
CommitterModify pg_dumpall so that output script uses new OWNER option of CREATE DATABASE; also make it use SET SESSION AUTHORIZATION commands rather than \connect commands. This makes it possible to restore databases belonging to users who do not have CREATEDB privilege. It should also become at least somewhat feasible to run the restore script under password authentication --- you'll get one superuser password prompt per database, rather than a large number of challenges for passwords belonging to varying unspecified user names.
36d2cc1d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 24, 2002
CommitterAdd OWNER option to CREATE DATABASE, so superusers can create databases on behalf of unprivileged users. Also, make '=' optional in CREATE DATABASE syntax. From Gavin Sherry, with kibitzing and docs by Tom Lane.
a833c441
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 24, 2002
CommitterGuard against createdb --location=PGDATA foo; without this, the code tries to create a symlink pointing at itself. Per trouble report from Kenneth McDowell.
9a279da7
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 23, 2002
CommitterFix comment.
a40c17e1
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 20, 2002
CommitterBackportedAvoid failures in cash_out and cash_words for INT_MIN. Also, 'fourty' -> 'forty'.
d9b01c13
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+23 more
No linked threadFeb 19, 2002
CommitterAdd casts to suppress gcc warnings on Solaris (where apparently pid_t is different from int).
2220a2b5
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 19, 2002
CommitterA bunch of changes aimed at reducing backend startup time...
78634044
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 19, 2002
CommitterRemove some unnecessary pqsignal() calls to shave a few cycles off backend startup.
8e2998d8
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 19, 2002
CommitterArrange to call localtime() during postmaster startup. On most Unixen, the first call of localtime() in a process will read /usr/lib/tztab or local equivalent. Better to do this once in the postmaster and inherit the data by fork() than to have to do it during every backend start.
6e546c28
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 19, 2002
CommitterAvoid calling pq_flush just after sending AUTH_REQ_OK; this saves one send() and probable process context swap during backend startup.
9103372f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 19, 2002
CommitterMinor copy-editing.
c89e0d96
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadFeb 18, 2002
CommitterBackportedReplace number-of-distinct-values estimator equation, per recent pghackers discussion.
e4dd0673
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+23 more
No linked threadFeb 18, 2002
CommitterEnsure that a cursor is scanned under the same scanCommandId it was originally created with, so that the set of visible tuples does not change as a result of other activity. This essentially makes PG cursors INSENSITIVE per the SQL92 definition. See bug report of 13-Feb-02.
3576820e
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 14, 2002
CommitterPoint out that --adduser actually makes the new user a superuser. This was mentioned on the man page for the underlying CREATE USER command, but it should be explained here too.
13920423
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 13, 2002
CommitterUse RTLD_NOW, not RTLD_LAZY, as binding mode for dlopen() on all platforms. This restores the Linux behavior to what it was in PG 7.0 and 7.1, and causes other platforms to agree. (Other well-tested platforms like HPUX were doing it this way already.) Per pghackers discussion over the past month or so.
fa046b6a
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 12, 2002
CommitterAdd warning not to use /usr/ucb/cc on Solaris.
baa0bb97
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 12, 2002
CommitterModify COPY TO to emit carriage returns and newlines as backslash escapes (backslash-r, backslash-n) for protection against newline-conversion munging. In future we will also tweak COPY FROM, but this part of the change should be backwards-compatible. Per pghackers discussion. Also, update COPY reference page to describe the backslash conversions more completely and accurately.
9832a235
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 12, 2002
CommitterTweak GiST code to work correctly on machines where 8-byte alignment of pointers is required. Patch from Teodor Sigaev per pghackers discussion. It's an ugly kluge but avoids forcing initdb; we'll put a better fix into 7.3 or later.
028e13bc
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 11, 2002
CommitterRepair problems with EvalPlanQual where target table is scanned as inner indexscan (ie, one with runtime keys). ExecIndexReScan must compute or recompute runtime keys even if we are rescanning in the EPQ case. TidScan seems to have comparable problems. Per bug noted by Barry Lind 11-Feb-02.
6799a6ca
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 11, 2002
CommitterBe more wary about mixed-case database names and user names. Get the CREATE DATABASE command right in pg_dump -C case.
15c30b6f
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 11, 2002
Committerpg_dump and pg_restore man pages need to mention that one should restore into a virgin database, ie, one created from template0, if there are any site-local additions in template1.
906254a5
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 11, 2002
CommitterDon't Assert() that fsync() and close() never fail; I have seen this crash on Solaris when over disk quota. Instead, report such failures via elog(DEBUG).
d99fb0d9
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 10, 2002
Committerpgstat's truncation of query string needs to be multibyte-aware. Patch from sugita@sra.co.jp.
0cc9917b
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 07, 2002
CommitterRepair some problems in GIST-index contrib modules. Patch from Teodor Sigaev <teodor@stack.net>.
fe1a9c33
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 07, 2002
CommitterFix failure to reconnect as sequence's owner before issuing setval().
6a67d9de
master7.2.1REL_19_STABLE7.2.1REL_18_STABLE7.2.1REL_17_STABLE7.2.1REL_16_STABLE7.2.1REL_15_STABLE7.2.1REL_14_STABLE7.2.1REL_13_STABLE7.2.1+23 more
No linked threadFeb 06, 2002