Filter:

Commits in week 40 (Sep 29 - Oct 05, 2003)

Commits21 commits of which 1 backported
0Author
21Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterAdd a little more smarts to estimate_hash_bucketsize(): if there's no statistics, but there is a unique index on the column, we can safely assume it's well-distributed.
a1dcd8f6
master7.4beta5REL_19_STABLE7.4beta5REL_18_STABLE7.4beta5REL_17_STABLE7.4beta5REL_16_STABLE7.4beta5REL_15_STABLE7.4beta5REL_14_STABLE7.4beta5REL_13_STABLE7.4beta5+21 more
No linked threadOct 05, 2003
CommitterDocument the always-true-but-previously-undocumented fact that PQfnumber() will downcase the supplied field name unless it is double-quoted. Also, upgrade the routine's handling of double quotes to match the backend, in particular support doubled double quotes within quoted identifiers. Per pgsql-interfaces discussion a couple weeks ago.
fa09ee60
master7.4beta5REL_19_STABLE7.4beta5REL_18_STABLE7.4beta5REL_17_STABLE7.4beta5REL_16_STABLE7.4beta5REL_15_STABLE7.4beta5REL_14_STABLE7.4beta5REL_13_STABLE7.4beta5+21 more
No linked threadOct 04, 2003
CommitterFix pg_get_constraintdef() to ensure CHECK constraints are always shown with required outer parentheses. Breakage seems to be leftover from domain-constraint patches. This could be smarter about suppressing extra parens, but at this stage of the release cycle I want certainty not cuteness.
b833c3d4
master7.4beta5REL_19_STABLE7.4beta5REL_18_STABLE7.4beta5REL_17_STABLE7.4beta5REL_16_STABLE7.4beta5REL_15_STABLE7.4beta5REL_14_STABLE7.4beta5REL_13_STABLE7.4beta5+21 more
No linked threadOct 04, 2003
CommitterIssue 'SET check_function_bodies = false' to suppress possible restore failures in SQL functions, due to forward references or unqualified references to objects in other schemas. Per recent discussion.
ef88199f
master7.4beta5REL_19_STABLE7.4beta5REL_18_STABLE7.4beta5REL_17_STABLE7.4beta5REL_16_STABLE7.4beta5REL_15_STABLE7.4beta5REL_14_STABLE7.4beta5REL_13_STABLE7.4beta5+21 more
No linked threadOct 03, 2003
CommitterAdd GUC parameter check_function_bodies to control whether validation of function bodies is done at CREATE FUNCTION time. This is normally true but can be set false to avoid problems with forward references, wrong schema search path, etc. This is just the backend patch, still need to adjust pg_dump to make use of it.
15c194c1
master7.4beta5REL_19_STABLE7.4beta5REL_18_STABLE7.4beta5REL_17_STABLE7.4beta5REL_16_STABLE7.4beta5REL_15_STABLE7.4beta5REL_14_STABLE7.4beta5REL_13_STABLE7.4beta5+21 more
No linked threadOct 03, 2003
CommitterCause PQescapeString to stop processing at a null character, rather than generating an invalid output string. Per observation and patch from Igor Shevchenko. Further code cleanup and documentation by Tom Lane.
25103318
master7.4beta5REL_19_STABLE7.4beta5REL_18_STABLE7.4beta5REL_17_STABLE7.4beta5REL_16_STABLE7.4beta5REL_15_STABLE7.4beta5REL_14_STABLE7.4beta5REL_13_STABLE7.4beta5+21 more
No linked threadOct 03, 2003
CommitterRemove assorted compilation failures introduced by latest ecpg changes. Also remove -g, which has no business in CPPFLAGS in the first place, let alone being hardwired there by a sub-Makefile.
3b4c1420
master7.4beta5REL_19_STABLE7.4beta5REL_18_STABLE7.4beta5REL_17_STABLE7.4beta5REL_16_STABLE7.4beta5REL_15_STABLE7.4beta5REL_14_STABLE7.4beta5REL_13_STABLE7.4beta5+21 more
No linked threadOct 03, 2003
CommitterAdd a bit more locking to vac_update_relstats and vac_update_dbstats to make them comparable to what UpdateStats does in the same situation. I'm not certain two instances of vac_update_relstats could run in parallel for the same relation, but parallel invocations of vac_update_dbstats do seem possible.
19c90bcc
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadOct 02, 2003
CommitterBackportedWhen dumping CREATE INDEX, must show opclass name if the opclass isn't in the schema search path. Otherwise pg_dump doesn't correctly dump scenarios where a custom opclass is created in 'public' and then used by indexes in other schemas.
bea8af91
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+22 more
No linked threadOct 02, 2003
CommitterDo not return from PQrequestCancel until postmaster has finished processing the request; this ensures that the request won't be taken to cancel a subsequently-issued query. Race condition originally noted by Oliver Jowett in the context of JDBC, but libpq has it too.
b4966453
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadOct 02, 2003
CommitterDon't use 0 as a spelling of NULL.
bf2f5d94
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadOct 02, 2003
CommitterAttached is a patch for contrib/tablefunc. It fixes two issues raised by Lars Boegild Thomsen (full email below) and also corrects the regression expected output for a recent backend message adjustment. Please apply.
08c33c42
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadOct 02, 2003
CommitterAdd code to check that IF/WHILE/EXIT test expressions are boolean, and try to coerce the values to boolean if not. Per recent discussions.
04b40923
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadOct 01, 2003
CommitterRepair RI trigger visibility problems (this time for sure ;-)) per recent discussion on pgsql-hackers: in READ COMMITTED mode we just have to force a QuerySnapshot update in the trigger, but in SERIALIZABLE mode we have to run the scan under a current snapshot and then complain if any rows would be updated/deleted that are not visible in the transaction snapshot.
55d85f42
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadOct 01, 2003
CommitterAdjust documentation examples to match recent error message rewordings. A couple other minor fixes.
6099bc03
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 30, 2003
CommitterMinor copy-editing.
444af9e0
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 30, 2003
CommitterUse slightly less broken markup.
f038e089
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 30, 2003
Committerheap_open => relation_open to avoid unwanted restriction on relkind. Per gripe from Gaetano Mendola.
47ed658c
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 30, 2003
CommitterAdjust btree index build procedure so that the btree metapage looks invalid (has the wrong magic number) until the build is entirely complete. This turns out to cost no additional writes in the normal case, since we were rewriting the metapage at the end of the process anyway. In normal scenarios there's no real gain in security, because a failed index build would roll back the transaction leaving an unused index file, but for rebuilding shared system indexes this seems to add some useful protection.
e33f205a
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 29, 2003
CommitterImprove context display for failures during COPY IN, as recently discussed on pghackers.
0e319c7a
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 29, 2003
CommitterFix broken definition of :print: character class, per Bruno Wolff. Also, make :alnum: character class directly dependent on isalnum() rather than guessing.
5594aa6a
master7.4beta4REL_19_STABLE7.4beta4REL_18_STABLE7.4beta4REL_17_STABLE7.4beta4REL_16_STABLE7.4beta4REL_15_STABLE7.4beta4REL_14_STABLE7.4beta4REL_13_STABLE7.4beta4+21 more
No linked threadSep 29, 2003