Filter:

Commits in October 2003

Commits77 commits of which 3 backported
0Author
77Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterUpdate future-tense comments in README to present tense. Noted by Neil Conway.
4240d2bf
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 31, 2003
CommitterRewrite GiST documentation into something actually useful.
47309464
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 31, 2003
CommitterFix broken markup.
9bd04c01
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 31, 2003
CommitterWhen a superuser does GRANT or REVOKE on an object he doesn't own, process the command as though it were issued by the object owner. This prevents creating weird scenarios in which the same privileges may appear to flow from different sources, and ensures that a superuser can in fact revoke all privileges if he wants to. In particular this means that the regression tests work when run by a superuser other than the original bootstrap userid. Per report from Larry Rosenman.
85454829
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 31, 2003
CommitterBack-patch removal of unnecessary inclusion of <crypt.h>, so that 7.3.5 will build out-of-the-box on Solaris.
fe979ae4
REL7_3_STABLE7.3.5
No linked threadOct 31, 2003
CommitterMinor cleanup of PQunescapeBytea(). Avoid unportable assumptions about behavior of malloc and realloc when request size is 0. Fix escape sequence recognizer so that only valid 3-digit octal sequences are treated as escape sequences ... isdigit() is not a correct test.
bcf4d356
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 31, 2003
CommitterSmall fix to Christopher's recent improvements --- underscore is not a special character in regexes, but it is for LIKE, so NOT LIKE 'pg_%' is incorrect. Need NOT LIKE 'pg\_%'.
e1810017
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 31, 2003
CommitterUse Tcl ByteArray objects to avoid unwanted character set translation in libpgtcl's lo_read/lo_write commands. Also, deal correctly with failure return from lo_read(). ljb and Tom Lane.
ede9b68e
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 31, 2003
CommitterFurther work on tab completion code: arrange for system catalogs to be offered for completion only when the input-so-far is at least 'pg_'. This seems to be the best compromise behavior emerging from yesterday's discussion. While at it, refactor code to eliminate repetitive use of nearly identical queries, which was exceedingly tedious to maintain. Also const-ify code more thoroughly in hopes of moving constant data into text segment, and remove unnecessary length limit on queries.
e84487f6
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 30, 2003
CommitterAllow the query for a plpgsql cursor to begin with '(' as well as 'SELECT'. Per example from Kumar, 30-Oct-03.
3108b5db
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 30, 2003
CommitterFix some corner cases in ACL manipulation: don't foul up on an empty ACL array, and force languages to be treated as owned by the bootstrap user ID. (pg_language should have a lanowner column, but until it does this will have to do as a workaround.)
f016c92e
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 29, 2003
CommitterGive a useful error message if a RangeVar is encountered in an expression. Per example from Ian Barwick, 28-Oct-03.
a35deb54
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 29, 2003
Committercompact_fsm_storage() does need to handle the case where a relation's FSM data has to be both moved down and compressed. Per report from Dror Matalon.
abec4cbf
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 29, 2003
CommitterDon't include "schema." in the set of possible tab completions once "schema." has been typed. This allows readline to complete subsequent characters immediately if all relations in the target schema start with the same prefix. This actually worked before, but I unintentionally broke it a few days ago. Also, make completion schema-aware for GRANT, REVOKE, VACUUM.
15c6764b
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 28, 2003
CommitterInclude -lkrb5 when needed for shlibs depending on libpq. Per report from Johan Henselmans.
979b5375
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 28, 2003
CommitterBackportedDon't choke when the handler for a procedural language is located in the pg_catalog schema. Per bug report some months back from Jochem van Dieten.
e554e2b0
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+22 more
No linked threadOct 28, 2003
CommitterGuard against Ant versions that print CLASSPATH before the version number in -version output. Per report from Johann Uhrmann.
573f8c01
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 28, 2003
CommitterAdjust wording to avoid giving the impression that schema USAGE privilege hides system catalog entries.
50cb9740
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 28, 2003
CommitterUn-break Darwin port.
f88c1599
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 27, 2003
CommitterRemove obsolete information about altering default optimization flags for gcc. Per comment from original author, Brian Gallew: "Ancient history. Kill it fast."
747df1a3
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 23, 2003
CommitterMove docs about index cost estimation functions and writing a procedural language handler to the 'Internals' area, per my proposal of yesterday. Clean up the trigger documentation a bit. Push SPI chapter to the end of its part, and reorder the Internals chapters into what seems a more sensible order (at the moment anyway).
cdbf9b32
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 22, 2003
CommitterAdd missing semicolon, per Johann Uhrmann. Avoids warnings from newer bisons.
0634c01e
master7.4rc1REL_19_STABLE7.4rc1REL_18_STABLE7.4rc1REL_17_STABLE7.4rc1REL_16_STABLE7.4rc1REL_15_STABLE7.4rc1REL_14_STABLE7.4rc1REL_13_STABLE7.4rc1+21 more
No linked threadOct 22, 2003
CommitterAnother example-to-documentation difference. Maybe we can find a better way to keep these in sync...
336297e6
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 22, 2003
CommitterOoops, missed updating this part of the complex-datatype example.
2744abb7
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 21, 2003
CommitterUpdate the complex-datatype example to V1 function calling conventions, and add binary send/receive functions. Fix some other grottiness such as failure to mark the C functions STRICT.
6fbb14a1
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 21, 2003
CommitterFor some reason, the preface mentions just six of the seven major parts of the book. Fix it.
6c7c493a
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 21, 2003
CommitterFix built-in SQL-language functions to ensure that referenced names are properly schema-qualified.
2b23bf37
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 21, 2003
CommitterCope with platforms that offer LONGLONG_MIN in place of the C99-spec LLONG_MIN. One example is AIX, per report from Andreas.
7eb67fc9
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 21, 2003
CommitterRevert to 7.3-and-before practice of only including <fcntl.h> in c.h on Windows; per complaint from Andreas that it breaks AIX build.
c9f8c2fd
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 21, 2003
CommitterFix findLastBuiltinOid_V70() to deliver correct result when running against a 7.0 server.
10add9d8
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 21, 2003
CommitterComplain if pg_restore is given both -d and -f options; this suggests the user is confused about whether -f is input or output file.
3b64171e
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 20, 2003
CommitterBackportedIt is possible for ResolveNew to be used to insert a sublink into a subquery that didn't previously have one. We have traditionally made the caller of ResolveNew responsible for updating the hasSubLinks flag of the outermost query, but this fails to account for hasSubLinks in subqueries. Fix ResolveNew to handle this. We might later want to change the calling convention of ResolveNew so that it can fix the outer query too, simplifying callers. But I went with the localized fix for now. Per bug report from J Smith, 20-Oct-03.
1df7a455
master7.4beta5REL_19_STABLE7.4beta5REL_18_STABLE7.4beta5REL_17_STABLE7.4beta5REL_16_STABLE7.4beta5REL_15_STABLE7.4beta5REL_14_STABLE7.4beta5REL_13_STABLE7.4beta5+22 more
No linked threadOct 20, 2003
CommitterImprove error reporting in parseTypeString(), motivated by confusing behavior reported by Martin Marques.
17841ddb
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 20, 2003
CommitterWhen building shared libraries on HPUX with gcc, forcibly include -lgcc to ensure any needed compiler support routines are included. This is arguably appropriate on *every* gcc platform, but for the moment I'll take the conservative approach of only doing it on a platform where it's provably useful. Per complaint from Heiko Lehmann, 13-Feb-03, as well as personal experience --- contrib/pgstattuple has never worked for me, but it does now.
41e6e367
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 20, 2003
CommitterSave_r, Save_t should be static not global variables.
6f169057
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 19, 2003
CommitterUpdate README file to show 7.4 oidjoins relationships. The regression test was updated previously, but documentation is lagging.
5319ba38
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 19, 2003
CommitterAdjust libpq to avoid deadlock when both client and server want to send data, and both have filled the transmission buffers. One scenario where this can happen was illustrated here: http://archives.postgresql.org/pgsql-hackers/2003-04/msg00979.php
9dfdbef3
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 19, 2003
CommitterFurther work on information_schema. _pg_keyissubset() wasn't quite fully search-path-proof yet; also, element_types view did not work for parameters and result types of functions, because it didn't generate the object_name for the function the same way the data_type_privileges view does. While at it, centralize dependencies on INDEX_MAX_KEYS/ FUNC_MAX_ARGS into a function returning setof int, so that it will be easier to fix information_schema for nonstandard values of these parameters.
e341cdb0
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 18, 2003
CommitterRepair interaction between IN-join processing and subselect pullup that I inadvertently broke a few days ago (per report from Sean Thomas). Add regression test case to try to catch any similar breakage in future.
eda80f09
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 18, 2003
CommitterSimplify loop test to avoid bug in AIX compiler, per Andreas.
c02036b1
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 18, 2003
CommitterMust free the pgParameterStatus chain in freePGconn(). My fault, well spotted by Neil Conway.
f2f71070
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 18, 2003
CommitterDocument all the system views created by initdb (several of these were never documented anywhere, sigh). Centralize the detailed documentation of system views into catalogs.sgml, and provide cross-references.
0a404864
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 17, 2003
CommitterAdd a listing of our SQLSTATE error codes to the documentation. Link to it from some appropriate places.
e5c2c978
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 17, 2003
CommitterFix busted markup.
34ed5059
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 17, 2003
CommitterFix elog tab-insertion code to insert tabs only where wanted.
bbba5080
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 17, 2003
CommitterAdjust display of actual runtimes in EXPLAIN output to use three fractional digits, and label it 'ms' not 'msec', for consistency with psql's \timing display. Per recent discussions.
fe1b5034
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 17, 2003
CommitterUse pg_get_constraintdef() rather than pg_constraint.consrc; this is a portion of a patch recently submitted by Christopher Kings-Lynne. Applied by agreement that this is a bug fix.
fa2356a1
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 17, 2003
CommitterAdd note deprecating use of consrc.
dec4ed31
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 17, 2003
CommitterSet attstattarget to -1 for all system catalog columns. All but a few of the entries used to be zero, which I think I had deliberately done in the name of saving cycles during ANALYZE, but it was really a rather foolish decision. Some of the more complex views in information_schema were getting really bad plans for lack of statistics on the columns they were joining over.
52b59a7b
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 16, 2003
CommitterAvoid division by zero in estimate_num_groups() when table has no rows.
64c1fc72
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 16, 2003
CommitterEnsure that all places that are complaining about exhaustion of shared memory say 'out of shared memory'; some were doing that and some just said 'out of memory'. Also add a HINT about increasing max_locks_per_transaction where relevant, per suggestion from Sean Chittenden. (The former change does not break the strings freeze; the latter does, but I think it's worth doing anyway.)
624292aa
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 16, 2003
CommitterCause tab completion to do something moderately reasonable with mixed-case identifiers --- it will now complete these correctly with double quoting. Fix a few other issues in passing.
2ec74435
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 16, 2003
CommitterFix bad interaction between NOTIFY processing and V3 extended query protocol, per report from Igor Shevchenko. NOTIFY thought it could do its thing if transaction blockState is TBLOCK_DEFAULT, but in reality it had better check the low-level transaction state is TRANS_DEFAULT as well. Formerly it was not possible to wait for the client in a state where the first is true and the second is not ... but now we can have such a state. Minor cleanup in StartTransaction() as well.
90b22029
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 16, 2003
CommitterMinor copy-editing.
839cea88
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 16, 2003
CommitterCause the default CFLAGS to be -O2 -fno-strict-aliasing when using gcc, per recent pghackers discussions. Also ensure that explicitly setting CFLAGS in the configure environment will be honored.
37278c06
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 15, 2003
CommitterUse PQescapeString to ensure that tab-completion queries are not messed up by quotes or backslashes in words that are being matched to database names (per gripe from Ian Barwick, though I didn't use his patch). Also fix possible memory leakage if _complete_with_query isn't run to completion (not clear if that can happen or not, but be safe).
77c1791a
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 14, 2003
Committerpull_up_subqueries() should copy the subquery before starting to modify it. Not sure why I'd thought it would be a good idea to do differently way back when, but Greg Stark exposed the folly of doing so ...
d18ba3f4
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 13, 2003
CommitterDetermine max_connections first, then see how large shared_buffers can be made, to avoid corner cases where max_connections ends up unreasonably small because shared_buffers is hogging too much shmem space. Per pghackers discussion about a week ago. Also, fix the copy-newlines problem in a more robust way, by using COPY FROM filename instead of COPY FROM STDIN; per a suggestion from Peter.
87299583
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 13, 2003
CommitterAdjust setRelhassubclassInRelation() to not perform actual heap_update when the pg_class.relhassubclass value is already correct. This should avoid most cases of the 'tuple concurrently updated' problem that Robert Creager recently complained about. Also remove a bunch of dead code in StoreCatalogInheritance() --- it was still computing the complete list of direct and indirect inheritance ancestors, though that list has not been needed since we got rid of the pg_ipl catalog.
e7261c46
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 13, 2003
CommitterFix binary_oper_exact() so that the heuristic 'an unknown literal on one side of a binary operator is probably supposed to be the same type as the other operand' will be applied for domain types. This worked in 7.3 but was broken in 7.4 due to code rearrangements. Mea culpa.
b05ff39d
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 06, 2003
CommitterDuring ALTER TABLE ADD FOREIGN KEY, try to check the existing rows using a single LEFT JOIN query instead of firing the check trigger for each row individually. Stephan Szabo, with some kibitzing from Tom Lane and Jan Wieck.
fec58f6c
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 06, 2003
CommitterModify COPY FROM to match the null-value string against the column value before it is de-backslashed, not after. This allows the null string \N to be reliably distinguished from the data value \N (which must be represented as \\N). Per bug report from Manfred Koizar ... but it's amazing this hasn't been reported before ... Also, be consistent about encoding conversion for null string: the form specified in the command is in the server encoding, but what is sent to/from client must be in client encoding. This never worked quite right before either.
0eceaaf9
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 06, 2003
CommitterFix order of operations within SendQuery() so that the time spent in data transfer during COPY is included in the \timing display. Also avoid portability problems if tv_usec is unsigned on some platform.
351adb8d
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 06, 2003
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