Commits in February 2002
Commits40 commits
0Author
40Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Committer | Back-patch fix for errors reported at transaction end. | REL7_2_STABLE7.2.1 | Feb 27, 2002 | |
| Committer | Tweak 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 27, 2002 | |
| Committer | Paranoia about data structure lifetime ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 27, 2002 | |
| Committer | Clean 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 27, 2002 | |
| Committer | Back-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. | REL7_2_STABLE7.2.1 | Feb 26, 2002 | |
| Committer | Restructure 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 26, 2002 | |
| Committer | Correct typo noticed by Christopher Kings-Lynne. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 26, 2002 | |
| Committer | Use quote-marks to try to clarify a plpgsql error message, per gripe from Dan Langille. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 26, 2002 | |
| CommitterBackported | Tweak 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+23 more | Feb 25, 2002 | |
| Committer | Add note that BLCKSZ must be a power of 2. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 25, 2002 | |
| Committer | Try to make makefile actually work ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 25, 2002 | |
| Committer | Fix bogus createdb option syntax recommended by initlocation message. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 24, 2002 | |
| Committer | Fix copy-and-paste typo. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 24, 2002 | |
| Committer | Add -O/--owner switch to createdb script, in support of new OWNER option for CREATE DATABASE. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 24, 2002 | |
| Committer | Modify 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 24, 2002 | |
| Committer | Add 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 24, 2002 | |
| Committer | Guard against createdb --location=PGDATA foo; without this, the code tries to create a symlink pointing at itself. Per trouble report from Kenneth McDowell. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 23, 2002 | |
| Committer | Fix comment. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 20, 2002 | |
| CommitterBackported | Avoid failures in cash_out and cash_words for INT_MIN. Also, 'fourty' -> 'forty'. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+23 more | Feb 19, 2002 | |
| Committer | Add casts to suppress gcc warnings on Solaris (where apparently pid_t is different from int). | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 19, 2002 | |
| Committer | A bunch of changes aimed at reducing backend startup time... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 19, 2002 | |
| Committer | Remove some unnecessary pqsignal() calls to shave a few cycles off backend startup. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 19, 2002 | |
| Committer | Arrange 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 19, 2002 | |
| Committer | Avoid calling pq_flush just after sending AUTH_REQ_OK; this saves one send() and probable process context swap during backend startup. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 19, 2002 | |
| Committer | Minor copy-editing. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Feb 18, 2002 | |
| CommitterBackported | Replace number-of-distinct-values estimator equation, per recent pghackers discussion. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+23 more | Feb 18, 2002 | |
| Committer | Ensure 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. | 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 | Feb 14, 2002 | |
| Committer | Point 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. | 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 | Feb 13, 2002 | |
| Committer | Use 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. | 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 | Feb 12, 2002 | |
| Committer | Add warning not to use /usr/ucb/cc on Solaris. | 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 | Feb 12, 2002 | |
| Committer | Modify 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. | 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 | Feb 12, 2002 | |
| Committer | Tweak 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. | 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 | Feb 11, 2002 | |
| Committer | Repair 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. | 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 | Feb 11, 2002 | |
| Committer | Be more wary about mixed-case database names and user names. Get the CREATE DATABASE command right in pg_dump -C case. | 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 | Feb 11, 2002 | |
| Committer | pg_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. | 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 | Feb 11, 2002 | |
| Committer | Don'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). | 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 | Feb 10, 2002 | |
| Committer | pgstat's truncation of query string needs to be multibyte-aware. Patch from sugita@sra.co.jp. | 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 | Feb 07, 2002 | |
| Committer | Repair some problems in GIST-index contrib modules. Patch from Teodor Sigaev <teodor@stack.net>. | 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 | Feb 07, 2002 | |
| Committer | Fix failure to reconnect as sequence's owner before issuing setval(). | 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 | Feb 06, 2002 |