Filter:

Commits in 2003

Commits901 commits of which 169 backported
0Author
901Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterAdjust the definition of RestrictInfo's left_relids and right_relids fields: now they are valid whenever the clause is a binary opclause, not only when it is a potential join clause (there is a new boolean field canjoin to signal the latter condition). This lets us avoid recomputing the relid sets over and over while examining indexes. Still more work to do to make this as useful as it could be, because there are places that could use the info but don't have access to the RestrictInfo node.
be6c38b9
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 30, 2003
CommitterRecommend SHOW, instead of pg_controldata, for checking LC_COLLATE and LC_CTYPE settings of a database.
5e545151
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 30, 2003
CommitterInstead of trying to force WHERE clauses into CNF or DNF normal form, just look for common clauses that can be pulled out of ORs. Per recent discussion, extracting common clauses seems to be the only really useful effect of normalization, and if we do it explicitly then we can avoid cluttering the qual with partially-redundant duplicated expressions, which was an unpleasant side-effect of the old approach.
9888192f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 30, 2003
CommitterBackportedAvoid running out of memory during hash_create, by not passing a number-of-buckets that exceeds the size we actually plan to allow the hash table to grow to. Per trouble report from Sean Shanny.
7af16b2a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 30, 2003
CommitterShmemInitHash forgot to specify HASH_ALLOC flag bit in its hash_create call. You'd think this would cause some problems, but because of the way hash_create is coded, the only side-effect was creation of a useless memory context for the hashtable.
e8aa10ee
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 30, 2003
CommitterUse hash table name, not one-size-fits-all 'DynaHashTable', to identify memory contexts belonging to hash tables. Makes the memory stats printout a little more useful.
ea43da51
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 29, 2003
CommitterUsing canonicalize_qual() to get rid of duplicate index predicate conditions is overkill; set_union() does the job about as well, and much more efficiently. Furthermore this avoids assuming that canonicalize_qual() will check for duplicate clauses at all, which it may not always do.
5c5b911f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 29, 2003
CommitterImprove comment.
b53ca9bb
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 29, 2003
CommitterTweak OpernameGetCandidates() to reduce palloc overhead --- profiling showed that for common operator names such as '=', the pallocs done by this routine occupied a surprisingly large fraction of the total time for the parser to process an operator.
07f9f4d4
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 29, 2003
CommitterClean up the usage of canonicalize_qual(): in particular, be consistent about whether it is applied before or after eval_const_expressions(). I believe there were some corner cases where the system would fail to recognize that a partial index is applicable because of the previous inconsistency. Store normal rather than 'implicit AND' representations of constraints and index predicates in the catalogs. initdb forced due to representation change of constraints/predicates.
c607bd69
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 28, 2003
CommitterBackportedFix sanity-check code that mistakenly assumed error and notice messages could never exceed 30K. Per report from Andreas Pflug.
d167fb10
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 28, 2003
CommitterBackportedAvoid infinite loop if connection is lost during PQexecStart() or PQexecFinish(). Per report from Andreas Pflug.
36c9a01a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 28, 2003
CommitterImprove spinlock code for recent x86 processors: insert a PAUSE instruction in the s_lock() wait loop, and use test before test-and-set in TAS() macro to avoid unnecessary bus traffic. Patch from Manfred Spraul, reworked a bit by Tom.
f8eed65d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 27, 2003
CommitterRemove incorrect remark about having to restart backend to load a new version of a shared library.
2cdace96
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 27, 2003
CommitterBe a little more consistent about which terms are uppercased in index entries.
debeb47c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 26, 2003
CommitterUse inlined TAS() on PA-RISC, if we are compiling with gcc. Patch inspired by original submission from ViSolve.
afb09b5a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 23, 2003
CommitterFix a number of places where reconfiguring with a different installation prefix would fail, because the new path did not get propagated to where it needed to be. Note this would fail even with --enable-depend.
cd2ad9b9
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 23, 2003
CommitterFix compile warning.
358d032f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 23, 2003
CommitterBackportedMore bogosity in alter_table test: sometimes causes prepare test to fail by means of arbitrarily renaming tables the other test depends on.
2fb67fa4
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 23, 2003
CommitterBackportedalter_table test sometimes failed in parallel mode, because of transient table name conflict against rangefuncs test.
e8a45156
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 23, 2003
CommitterPush responsibility for selecting out-of-line-assembler TAS code out to the platform template files, instead of doing it directly in configure.in. This seems cleaner, and also opens the door to making the choice be dependent on the compiler being used.
baee5f75
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 23, 2003
CommitterMop-up for HAS_TEST_AND_SET refactoring. Un-break two or three platforms that were broken, try to make layout of s_lock.h entries consistent, use HAVE_SPINLOCKS in preference to HAS_TEST_AND_SET everywhere outside s_lock.h itself.
9adaf64d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 23, 2003
CommitterAllow plpgsql variables' default value expressions to reference existing variables (such as function parameters). Per gripe from David Fetter.
f66b0ff0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 23, 2003
CommitterUpdate HISTORY for 7.4.1 release.
5bb4d8e8
REL7_4_STABLE7.4.1
No linked threadDec 21, 2003
CommitterBackportedFix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch.
5015cf01
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 21, 2003
CommitterFurther cleanup in _bt_first: eliminate duplicate code paths.
ef92b82d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 21, 2003
CommitterPrevious change exposed some opportunities for further simplification in _bt_first().
2a0caefe
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 21, 2003
CommitterImprove btree's initial-positioning-strategy code so that we never need to step more than one entry after descending the search tree to arrive at the correct place to start the scan. This can improve the behavior substantially when there are many entries equal to the chosen boundary value. Per suggestion from Dmitry Tkach, 14-Jul-03.
569659ae
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 21, 2003
CommitterThe recent DUMMY_PROCS patch broke accounting for the number of semaphores needed. This caused us to fail all the time on Darwin, and we'd fail for some values of maxBackends on SysV-sema platforms, too.
772d0f93
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 21, 2003
Committerbufmgr.c failed to compile on Darwin, because it didn't include <sys/time.h> where struct timeval is defined.
16cc9dff
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 20, 2003
CommitterBackportedDept. of third thoughts: in fact, libpq should support SCM_CREDS challenge even when HAVE_GETPEEREID is defined, else it will be unable to connect to pre-7.4 backends that are using IDENT authentication.
fb8ac3fc
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 20, 2003
CommitterBackportedFix broken IDENT support for FreeBSD (appears to have been broken by ill-considered conditional logic in getpeereid patch of 3-Dec-2002). Per bug #1021.
b8f29802
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 20, 2003
CommitterBackportedMake to_hex() behave portably on negative input values (treat them as unsigned integers). Per report from Jim Crate.
7fc2d508
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 19, 2003
CommitterBackportedFix memory leak with SSL connections due to missing X509_free() calls. Per Neil Conway.
e0cd1752
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 18, 2003
CommitterBackportedUse a shutdown callback to clear setArgsValid in a FuncExprState that is evaluating a set-valued function. This fixes some additional problems with rescanning partially-evaluated SRFs.
54840eca
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 18, 2003
CommitterBackportedEnsure set-returning functions in the targetlist of a plan node will be shut down cleanly if the plan node is ReScanned before the SRFs are run to completion. This fixes the problem for SQL-language functions, but still need work on functions using the SRF_XXX() macros.
38423232
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 18, 2003
CommitterBackportedAdjust rules output for unknown-vs-any change (affects expected contents of pg_stats view definition).
38b0dff0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 18, 2003
CommitterBe a little smarter in group_clauses_by_indexkey_for_join: detect cases where a joinclause is redundant with a restriction clause. Original coding believed this was impossible and didn't need to be checked for, but that was a thinko ...
109a4a60
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 18, 2003
CommitterBackportedinformation_schema.constraint_column_usage and key_column_usage should not discriminate against system columns, since we support constraints on system columns, and in fact constraints on OID are moderately useful.
42224912
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 17, 2003
CommitterBackportedFix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz.
78f637c6
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 17, 2003
CommitterBackportedRepair badly broken estimation of output buffer size in lquery_out().
a7e383d2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 17, 2003
CommitterBackportedReorder tests in parse_coerce so that ANY/ANYELEMENT/ANYARRAY coercion does not affect UNKNOWN-type literals or Params. This fixes the recent complaint about count('x') being broken, and improves consistency in a few other respects too.
f758097c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 17, 2003
CommitterBackportedRepair planner failure when there are multiple IN clauses, each with a join in its subselect. In this situation we *must* build a bushy plan because there are no valid left-sided or right-sided join trees. Accordingly, hoary sanity check needs an update. Per report from Alessandro Depase.
99e922a0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 17, 2003
CommitterFix thinko in comment.
f288877f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 11, 2003
CommitterBackportedquery_tree_mutator should copy RangeTblEntry nodes even when it's not planning to modify them itself. Otherwise we end up with shared RTE substructure, which breaks inheritance_planner because the rte->inh flag needs to be independent in each copied subquery. Per bug report from Chris Piker.
2d83e7c7
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 09, 2003
CommitterBackportedMinor autovacuum fixes from Matthew O'Connor.
ee719299
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 08, 2003
CommitterBackportedAdd fflush() before sleeping, per Matthew O'Connor.
1b5a2dbd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 08, 2003
CommitterBackportedWhole-row references were broken for subqueries and functions, because attr_needed/attr_widths optimization failed to allow for Vars with attno zero in this case. Per report from Tatsuo Ishii.
b281ea8c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 08, 2003
CommitterWork around naming conflict between zlib and OpenSSL by tweaking inclusion order. Remove some unnecessary #includes (that duplicate c.h).
918b1587
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 08, 2003
CommitterBackportedReplace unportable and overflow-prone use of 'long long' with safer 'double' arithmetic, per recent discussion.
9c26980f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 07, 2003
CommitterBackportedRemove test on c.relkind from check_constraints view; unnecessary and prevents view from showing constraints on domains. This addresses the other half of Claus Colloseus' bug report.
80af69ce
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 07, 2003
CommitterOne more pass at reducing the cost of pg_dump's new implementation: reduce the number of times TopoSort() has to be executed by trying to extract multiple dependency loops from each pass, instead of only one. This saves about another factor of ten on the regression database. This could be considered as another exercise in grokking Fred Brooks' maxim: Representation *is* the essence of programming.
649c1a11
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 07, 2003
CommitterSpeed up findObjectByCatalogId() to get rid of the other salient bottleneck in the new pg_dump code.
7bb11a93
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 07, 2003
CommitterReplace not-very-bright implementation of topological sort with a better one (use a priority heap to keep track of items ready to output, instead of searching the input array each time). This brings the runtime of pg_dump back to about what it was in 7.4.
79273cc7
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 06, 2003
CommitterMassive overhaul of pg_dump: make use of dependency information from pg_depend to determine a safe dump order. Defaults and check constraints can be emitted either as part of a table or domain definition, or separately if that's needed to break a dependency loop. Lots of old half-baked code for controlling dump order removed.
005a1217
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 06, 2003
CommitterBackportedGuard against bug in Solaris' bsearch(), per Michael Wildpaner.
a5ffa8fe
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 05, 2003
CommitterBackportedPlanner failed to be smart about binary-compatible expressions in pathkeys and hash bucket-size estimation. Issue has been there awhile but is more critical in 7.4 because it affects varchar columns. Per report from Greg Stark.
7f8f7665
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 03, 2003
CommitterBrand 7.3.5.
7af352f1
REL7_3_STABLE7.3.5
No linked threadDec 02, 2003
CommitterBackportedUpdate release notes for 7.3.5.
0fd336c6
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadDec 02, 2003
CommitterCode and docs review for numeric-factorial patch.
145d9fa4
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 02, 2003
CommitterAvoid assuming that type key_t is 32 bits, since it reportedly isn't on 64-bit Solaris. Use a non-system-dependent datatype for UsedShmemSegID, namely unsigned long (which we were already assuming could hold a shmem key anyway, cf RecordSharedMemoryInLockFile).
5e2b99db
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadDec 01, 2003
CommitterBackportedMinor wordsmithing in datetime docs to try to address gripes raised by cnliou.
af036638
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 01, 2003
CommitterBackportednetmask() and hostmask() functions should return maximum-length masklen, per gripe from Joe Sunday.
c5336a89
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 01, 2003
CommitterBackportedFix typos noted by Halley Pacheco de Oliveira.
3e5da0a8
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadDec 01, 2003
CommitterBackportedForce zero_damaged_pages to be effectively ON during recovery from WAL, since there is no need to worry about damaged pages when we are going to overwrite them anyway from the WAL. Per recent discussion.
0902ece5
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more
No linked threadDec 01, 2003
CommitterBack-patch fix to check vartypmod when matching PlannerParamVar entries. This should prevent some obscure cases of 'variable not in subplan target lists', although actual failures have only been reported against 7.4 in which the bug is much easier to trigger.
6144601f
REL7_3_STABLE7.3.5
No linked threadNov 30, 2003
CommitterBack-patch fix to cause stats processes to detach from shared memory, so that they do not prevent the postmaster from deleting the shmem segment during crash recovery.
a0547f6e
REL7_3_STABLE7.3.5
No linked threadNov 30, 2003
CommitterPut out a more useful version indication in the welcome banner for a standalone backend --- the CVS revision number of postgres.c is not real useful to anyone.
4c274b4f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 29, 2003
CommitterBackportedSecond try at fixing no-room-to-move-down PANIC in compact_fsm_storage. Ward's report that it can still happen in RC2 forces me to realize that this is not a can't-happen condition after all, and that the compaction code had better cope rather than panicking.
9ea73882
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 26, 2003
CommitterBackportedRepair subselect.c's occasional assignment of the wrong vartypmod to Vars created to fill subplan args lists. This is an ancient error, going back at least to 7.0, but is more easily triggered in 7.4 than before because we no longer compare varlevelsup when deciding whether a Param slot can be re-used. Fixes bug reported by Klint Gore.
e7a45c78
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 25, 2003
CommitterGet rid of hashkeys field of Hash plan node, since it's redundant with the hashclauses field of the parent HashJoin. This avoids problems with duplicated links to SubPlans in hash clauses, as per report from Andrew Holm-Hansen.
a64846f3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 25, 2003
CommitterBand-aid solution for problems with SubPlans used in hash join clauses, per report from Andrew Holm-Hansen. The difficulty arises from the fact that the planner allowed a Hash node's hashkeys to share substructure with the parent HashJoin node's hashclauses, plus some rather bizarre choices about who initializes what during executor startup. A cleaner but more invasive solution is to not store hashkeys separately in the plan tree at all, but let the HashJoin node deconstruct hashclauses during executor startup. I plan to fix it that way in HEAD.
9765c6a9
REL7_4_STABLE7.4.1
No linked threadNov 25, 2003
CommitterAvoid using string literal with embedded newline.
e91e640b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 24, 2003
CommitterBackportedOverdue code review for ALTER SEQUENCE patch. Don't generate illegal Node tree for CYCLE option; don't assume zeros are invalid values for sequence fields other than increment_by; don't reset cache_value when not told to; simplify code for testing whether to apply defaults.
1c5f223e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 24, 2003
CommitterBackportedRepair missed renamings of show_statement_stats and show_executor_stats.
c52204b2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 24, 2003
CommitterCOMMENT ON casts, conversions, languages, operator classes, and large objects. Dump all these in pg_dump; also add code to pg_dump user-defined conversions. Make psql's large object code rely on the backend for inserting/deleting LOB comments, instead of trying to hack pg_description directly. Documentation and regression tests added.
42ce74bf
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 21, 2003
CommitterRemove unused variable.
0a97cb37
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 21, 2003
CommitterBackportedFix datetime input parsing to accept YYYY-MONTHNAME-DD and related syntaxes, which had been unintentionally broken by recent changes to tighten up the DateStyle rules for all-numeric date input. Add documentation and regression tests for this, too.
1a908a00
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 16, 2003
CommitterSync HEAD with update committed only in 7.4 branch.
9ad53b04
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 16, 2003
CommitterBackportedAnother try at fixing the Linux overcommit docs, per Andrew Dunstan.
02cd2b96
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 16, 2003
CommitterBackportedUpdate info about SysV configuration procedures on OS X 10.3.
edc21351
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 16, 2003
CommitterBackportedSome editorializing on the Linux memory overcommit docs, from Neil Conway.
ffce57de
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 16, 2003
CommitterBackportedMore release-notes copy editing, from Neil Conway.
51eba617
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 16, 2003
CommitterBackportedA little bit more copy-editing...
3e9a86a3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 15, 2003
CommitterBackportedMinor wording improvement suggested by a comment in the interactive docs.
c76037aa
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 15, 2003
CommitterBackportedMake creation of statistics collection socket more robust, by allowing it to try additional addresses returned from getaddrinfo() if the first one fails at the bind() or connect() steps. Per yesterday's discussion.
5b6b587a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 15, 2003
CommitterBackportedRepair error in syntax documentation for CREATE TABLE: one does not put a comma between multiple column_constraint's for a single column. Per report from Tomislaw Kitynski.
db15b9b6
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 14, 2003
CommitterTry to improve error handling for failures of backend subprocess.
59452835
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 14, 2003
CommitterAdd CHECK_FOR_INTERRUPTS() to bootstrap command loop, so that control-C can terminate the bootstrap run.
e035a297
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 14, 2003
CommitterAdd fflush() before popen() calls; avoids any possible problem with double or out-of-sequence output with child process.
81e51ddc
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 14, 2003
CommitterAdd missing logic to handle fixing permissions on an already-existing data directory. Also fix handling of error conditions associated with data directory checking step (can't use a boolean to distinguish four possible result states...)
0104fc11
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 14, 2003
CommitterBackportedFix misstatement about the required value of SEMVMX. Given our current usage of PGSemaMagic, the minimum required value is actually 537, but say 1000 just to use a round number. 255 is *not* good enough.
c38ff526
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 14, 2003
CommitterPreliminary code review for C version of initdb. Re-centralize handling of option switches for backend, fix handling of COPY from data files so that we won't have the newline-after-\. issue back again, add back some comments and printouts lost from the shell script, etc. Still needs work for error handling; in particular the shell version worked much more nicely for the case of a postgres executable that fails on invocation.
18f58a04
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 13, 2003
CommitterDunno why this got committed with DOS newlines, but fix that, and add a header comment/copyright notice.
01e62da1
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 13, 2003
CommitterSilly to copy sprompt.c from src/port when we're linking libpgport anyway.
c7bfc7df
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 13, 2003
CommitterAdd fflush() calls so that I'm-about-to-do-this messages actually come out before the action is done.
9a9890d8
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 13, 2003
CommitterFix lack of optreset.
88dd65ae
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 13, 2003
CommitterBackportedAcceptResult() was missing a case for PGRES_EMPTY_QUERY --- probably my fault. Adding it fixes bogus message display when reading a block comment at the end of a script file.
27e8ef05
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 12, 2003
CommitterCross-data-type comparisons are now indexable by btrees, pursuant to my pghackers proposal of 8-Nov. All the existing cross-type comparison operators (int2/int4/int8 and float4/float8) have appropriate support. The original proposal of storing the right-hand-side datatype as part of the primary key for pg_amop and pg_amproc got modified a bit in the event; it is easier to store zero as the 'default' case and only store a nonzero when the operator is actually cross-type. Along the way, remove the long-since-defunct bigbox_ops operator class.
fa5c8a05
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 12, 2003
CommitterFix thinko in reltime and tinterval operator classes that I added a couple months ago: the >= and > operators were swapped. Not worth forcing an initdb for this, but we should get it right in the release. Will be patched separately in HEAD.
1d42f324
REL7_4_STABLEunreleased
No linked threadNov 11, 2003
CommitterAdd operator strategy and comparison-value datatype fields to ScanKey. Remove the 'strategy map' code, which was a large amount of mechanism that no longer had any use except reverse-mapping from procedure OID to strategy number. Passing the strategy number to the index AM in the first place is simpler and faster. This is a preliminary step in planned support for cross-datatype index operations. I'm committing it now since the ScanKeyEntryInitialize() API change touches quite a lot of files, and I want to commit those changes before the tree drifts under me.
c1d62bfd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 09, 2003
CommitterBackportedCorrect misspellings of REFERENCES.
97edeec6
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 08, 2003
CommitterBackportedRestore compatibility with Tcl 8.0.* --- from ljb.
45fe4042
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 08, 2003
CommitterBackportedDon't need hack copy of system() anymore in OS X 10.3.
153e8302
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 08, 2003
CommitterBackportedFix process-status handling for OS X 10.3.
449593a9
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 08, 2003
CommitterBackportedCause stats processes to detach from shared memory when started, so that they do not prevent the postmaster from deleting the shmem segment during a post-backend-crash restart cycle. Per recent discussion.
f8a769b4
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 07, 2003
CommitterBackportedzero_damaged_pages must absolutely NOT be marked GUC_DISALLOW_IN_FILE, else it cannot be used to handle failures detected during WAL replay. Fortunately this flag isn't actually enforced yet, but get it right.
7e4a6294
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 07, 2003
CommitterBackportedMinor copy-editing.
e1b47c2d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 06, 2003
CommitterBackportedFix for this problem:
e4044ba2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 05, 2003
CommitterBackportedMinor copy-editing.
e560dd35
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 05, 2003
CommitterBackportedSome copy-editing for 7.4 release notes.
1a61554b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 04, 2003
CommitterBackportedGive the full syntax rules for subscripting and field selection in the proper place, namely the syntax discussion of value expressions.
64caee75
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 04, 2003
CommitterBackportedCopy-editing.
bb06cbdb
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more
No linked threadNov 04, 2003
CommitterTag HEAD as 7.5devel.
0637d52d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more
No linked threadNov 03, 2003
CommitterAdjust data types in some of the UNION tests to avoid potentially platform-dependent results, as per example from Larry Rosenman.
b402503f
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 threadNov 02, 2003
CommitterProvide a way to run the parallel regression tests with a user-specified limit on the number of simultaneous connections. Andrew Dunstan, with review by Tom Lane.
eeaf5f04
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 threadNov 02, 2003
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
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
CommitterRestructure plpgsql's caching of 'simple' expression evaluation trees to be less dangerous, and often faster as well. ExprState trees are not kept across transaction boundaries; this eliminates problems with resource leakage in failed transactions. But by keeping them in a per-transaction EState, we can safely arrange for a single ExprState to be shared by all the expression evaluations done in a given plpgsql function call. (Formerly it seemed necessary to create and destroy an ExprState for each exec_eval_simple_expr() call.) This saves time in any scenario where a plpgsql function executes more than one expression. Seems to be about as fast as 7.3 for simple cases, and significantly faster for functions that do a lot of calculations.
8b510838
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 28, 2003
CommitterAdd a mechanism to let dynamically loaded modules register post-commit/ post-abort cleanup hooks. I'm surprised that we have not needed this already, but I need it now to fix a plpgsql problem, and the usefulness for other dynamically loaded modules seems obvious.
89347900
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 28, 2003
CommitterNow that we have UPDATE tab SET col = DEFAULT, get rid of horrid hack in the RI triggers for ON DELETE/UPDATE SET DEFAULT. The code depended way too much on knowledge of plan structure, and yet still would fail if the generated query got rewritten by rules.
a15207f8
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 28, 2003
CommitterRemove erroneous restriction that -t cannot be used to select a sequence for dumping.
0ac697b2
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 27, 2003
CommitterGot the link order wrong :-(
e0736689
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 27, 2003
CommitterAdjust Darwin build to use the default 'two level namespace' linking method. Fix a number of places where shared libraries were linked without mentioning all the libraries they depend on; the Darwin and AIX ports are known to require this, and it doesn't seem to hurt any other supported platforms. (Hence, remove code in pl/tcl makefile that tried to avoid mentioning other libs if not needed.)
cd75f94d
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 27, 2003
CommitterFix typo in message.
4f7a2fa0
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 27, 2003
CommitterMove -D_GNU_SOURCE hack from port header to template, so that configure's tests see the same compilation environment as the code. Per discussion with Stephan Szabo.
026f9c05
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 26, 2003
CommitterFix tid scan evaluation of non-constant TID values; can't try to do it during ExecInitTidScan, because the rest of the executor isn't ready.
8d108fb1
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 26, 2003
CommitterMake the world safe (more or less) for dropped columns in plpgsql rowtypes.
2848dc5f
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 25, 2003
Committertlist_matches_tupdesc() needs to defend itself against dropped columns.
a039148c
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 25, 2003
CommitterGet rid of ReferentialIntegritySnapshotOverride by extending Executor API to allow es_snapshot to be set to SnapshotNow rather than a query snapshot. This solves a bug reported by Wade Klaver, wherein triggers fired as a result of RI cascade updates could misbehave.
c63a5452
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 25, 2003
CommitterFix regression error messages for platforms Peter doesn't use.
7ab5c5b8
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 25, 2003
CommitterFix grammatical error introduced into error message.
d332f7f6
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 25, 2003
CommitterRepair some REINDEX problems per recent discussions. The relcache is now able to cope with assigning new relfilenode values to nailed-in-cache indexes, so they can be reindexed using the fully crash-safe method. This leaves only shared system indexes as special cases. Remove the 'index deactivation' code, since it provides no useful protection in the shared- index case. Require reindexing of shared indexes to be done in standalone mode, but remove other restrictions on REINDEX. -P (IgnoreSystemIndexes) now prevents using indexes for lookups, but does not disable index updates. It is therefore safe to allow from PGOPTIONS. Upshot: reindexing system catalogs can be done without a standalone backend for all cases except shared catalogs.
a56a016c
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 24, 2003
CommitterAdd positive defense against dropped columns, per suggestion from Christopher Kings-Lynne. Also fix a couple more schema-awareness issues.
03858c07
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 24, 2003
CommitterIssue CREATE SCHEMA as the originally connecting user, with an AUTHORIZATION clause to specify the desired owner. This allows a superuser to restore schemas owned by users without CREATE-SCHEMA permissions (ie, schemas originally created by a superuser using AUTHORIZATION). --no-owner can be specified to suppress the AUTHORIZATION clause if need be.
a9e9abeb
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 23, 2003
Committerpg_dump/pg_restore now always use SET SESSION AUTHORIZATION, not \connect, to control object ownership. The use-set-session-authorization and no-reconnect switches are obsolete (still accepted on the command line, but they don't do anything). This is a precursor to fixing handling of CREATE SCHEMA, which will be a separate commit.
6767cebc
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 23, 2003
CommitterMinor copy-editing for plpgsql chapter.
aefc08e4
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 23, 2003
CommitterTweak generic_type_consistency routines to avoid loss of functionality since 7.3: 'select array_dims(histogram_bounds) from pg_stats' used to work and still should. Problem was that code wouldn't take input of declared type anyarray as matching an anyarray argument. Allow this case as long as we don't need to determine an element type (which in practice means as long as anyelement isn't used in the function signature).
dbf8259a
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 23, 2003
CommitterBackported_SPI_cursor_operation forgot to check for failure return from _SPI_begin_call. Per gripe from Tomasz Myrta.
267924ea
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 threadSep 23, 2003
CommitterHeapTupleSatisfiesVacuum() needs to be more careful about the difference between INSERT_IN_PROGRESS and DELETE_IN_PROGRESS for tuples inserted and then deleted by a concurrent transaction. Example of bug: regression=# create table foo (f1 int); CREATE TABLE regression=# begin; BEGIN regression=# insert into foo values(1); INSERT 195531 1 regression=# delete from foo; DELETE 1 regression=# insert into foo values(1); INSERT 195532 1 regression=# create unique index fooi on foo(f1); ERROR: could not create unique index DETAIL: Table contains duplicated values.
f03d2284
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 22, 2003
CommitterArrange to align shared disk buffers on at least 32-byte boundaries, not just MAXALIGN boundaries. This makes a noticeable difference in the speed of transfers to and from kernel space, at least on recent Pentiums, and might help other CPUs too. We should look at making this happen for local buffers and buffile.c too. Patch from Manfred Spraul.
5aa29e88
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 21, 2003
CommitterFix some ill-considered ifdefs, per report from Hans-JÏrgen SchÎnig.
11b274f0
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 21, 2003
CommitterApply ranlib(1) after installing a static (.a) library on Darwin. Per past complaints --- verified to still be a problem on OS X 10.2.6.
58ad65ec
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 20, 2003
CommitterAttaching -lpq to LDFLAGS doesn't work, because the generated command puts that before the .c file name.
776ec78e
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 20, 2003
CommitterFix a batch of speling misteaks identified by Peter's spell-checker tool.
f3ad615c
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 20, 2003
Committerpg_dump missed comments attached to primary key or unique constraints (as distinct from their underlying indexes). Per bug report from Hiroshi Saito.
f72a93b4
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 19, 2003
CommitterDocument that TRUNCATE ignores user-defined ON DELETE triggers.
8421253e
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 19, 2003
CommitterDisallow foreign-key references from temp tables to permanent tables. Per recent discussion, this does not work because other backends can't reliably see tuples in a temp table and so cannot run the RI checks correctly. Seems better to disallow this case than go back to accessing temp tables through shared buffers. Also, disallow FK references to ON COMMIT DELETE ROWS tables. We already caught this problem for normal TRUNCATE, but the path used by ON COMMIT didn't check.
a13b0185
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 19, 2003
CommitterLatest version of gcc from Apple does not work well with -traditional-cpp (it rejects some system header files...). Use -no-cpp-precomp instead. I think it is okay to change this unconditionally, but if we hear complaints from people still using very old compilers on Darwin, we could put in a test to see which switch the compiler likes.
fc6b7c55
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 19, 2003
CommitterSeems like a bad idea that REINDEX TABLE supports (or thinks it does) reindexing system tables without ignoring system indexes, when the other two varieties of REINDEX disallow it. Make all three act the same, and simplify downstream code accordingly.
28847ae7
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 19, 2003
CommitterPut a tad more detail in the discussion of postmaster and postgres signal handling.
68901574
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 18, 2003
CommitterBack-patch fix for plpython problems with dropped table columns; per bug report from Arthur Ward, who also tested this patch.
5f2b17e6
REL7_3_STABLE7.3.5
No linked threadSep 17, 2003
CommitterDisallow converting a table to a view if it has triggers, indexes, or child tables --- all cases that will trip various sanity checks elsewhere in the system, as well as cases that should not occur in the only intended use of this feature, namely coping with ancient pg_dump representation of views. Per bug report from Chris Pizzi.
6b73da67
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 17, 2003
CommitterMake psql correctly track the effects of SET CLIENT_ENCODING commands. I thought I'd fixed this earlier, but I didn't get it right ...
7e06dbe1
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 16, 2003
CommitterI don't care whether it's informix-compatible or not: #defining a word like 'date' in a public header file is a damn fool idea.
fc732640
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 16, 2003
CommitterFix some problems with dropped columns in plpython trigger functions.
b8f88968
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 16, 2003
CommitterSince SPI_modifytuple's natts argument is the number of attributes to be changed, it should allow a zero value (implying no changes to make).
8723e37a
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 16, 2003
CommitterFix LISTEN/NOTIFY race condition reported by Gavin Sherry. While a really general fix might be difficult, I believe the only case where AtCommit_Notify could see an uncommitted tuple is where the other guy has just unlistened and not yet committed. The best solution seems to be to just skip updating that tuple, on the assumption that the other guy does not want to hear about the notification anyway. This is not perfect --- if the other guy rolls back his unlisten instead of committing, then he really should have gotten this notify. But to do that, we'd have to wait to see if he commits or not, or make UNLISTEN hold exclusive lock on pg_listener until commit. Either of these answers is deadlock-prone, not to mention horrible for interactive performance. Do it this way for now. (What happened to that project to do LISTEN/NOTIFY in memory with no table, anyway?)
db18703b
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 15, 2003
CommitterUpdate regression test for message change.
d73e1b33
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 15, 2003
CommitterImprove a couple of error messages per suggestions from Alvaro Herrera.
daed6f4b
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 15, 2003
CommitterOkay, who left off the id= here?
4d016a95
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 15, 2003
CommitterLISTEN doesn't issue a warning for redundant listens anymore. Also, add some 'See Also' links.
5f78d6cb
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 15, 2003
CommitterAdd missing support for Opteron (__x86_64__).
241cea18
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 14, 2003
CommitterPersuade tsearch/tsearch2 to work (or at least pass their regression tests) when using flex 2.5.31. The fix is to *not* try to use palloc and pfree for allocations within the lexer; when you do that, the yy_buffer_stack gets freed at inopportune times. The code is already set up to do manual deallocation, so I see no particular advantage to using palloc anyway.
3f43446e
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 14, 2003
CommitterMake pltcl create separate function objects when the same function is used as trigger on different relations. I am not convinced that Tcl actually has to have this, but it seems a good idea to make it be parallel to the other PLs that definitely do need it.
0441e269
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 14, 2003
CommitterFix plpython to generate separate cached procedure data for each relation, when the same function is used as a trigger on more than one relation. This avoids crashes due to differing rowtypes for different relations. Per bug report from Lance Thomas, 7-Feb-03.
96e63199
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 14, 2003
Committerexpected results for dblink test seem to be out of date ...
0e9b05bd
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 14, 2003
CommitterMake contrib/seg work with flex 2.5.31. Fix it up to have a real btree operator class, too, since in PG 7.4 you can't GROUP without one.
043be9ad
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 14, 2003
CommitterMake contrib/cube work with flex 2.5.31. Fix it up to have a real btree operator class, too, since in PG 7.4 you can't GROUP without one.
03e47392
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 14, 2003
CommitterReconsider placement of MemoryContextCheck() call --- do after commit, not before, to avoid duplication of effort.
b38c0433
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 14, 2003
CommitterAvoid corner cases where aset.c would unnecessarily make malloc() requests of sizes that aren't powers of 2. Per observation from David Schultz, 28-Aug.
4cf6e9e0
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 13, 2003
CommitterWith Joe Conway's concurrence, remove srandom() call from normal_rand(). This was the last piece of code that took it upon itself to reset the random number sequence --- now we only have srandom() in postmaster start, backend start, and explicit setseed() operations.
c472b836
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 13, 2003
CommitterOkay, I've had it with mktime() bugs. While chasing Torello Querci's recent gripe, I discovered not one but two undocumented, undesirable behaviors of glibc's mktime. So, stop using it entirely, and always rely on inversion of localtime() to determine the local time zone. It's not even very much slower, as it turns out that mktime (at least in the glibc implementation) also does repeated reverse-conversions.
94a13b8a
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 13, 2003
CommitterMinor wording improvements.
f5175906
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 13, 2003
CommitterMarginal hacks to make tables format more nicely.
f8c365c8
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 13, 2003
CommitterMop-up for error-message updates in documentation.
a75ee43c
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 12, 2003
CommitterUpdate obsolete examples of error messages; various other minor editing.
6e591224
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 12, 2003
CommitterRevert to our pre-7.4 behavior of identifying Unix-socket connections in ps status as '[local]', not as 'localhost' as the code has been doing recently. That's too easily confused with TCP loopback connections, and there is no good reason to change the behavior anyway.
8b43e325
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 12, 2003
CommitterSomeone (possibly me) foolishly reduced the response for failing to create a TCP/IP socket from FATAL to LOG. This was unwise; historically we have expected socket conflicts to abort postmaster startup. Conflicts on port numbers with another postmaster can only be detected reliably at the TCP socket level.
b1d3de6b
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 12, 2003
CommitterFix incorrect pfree in to_tsquery_name(), per Nigel Andrews.
17d15ddf
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 12, 2003
CommitterMore cleanup of Diagnostics sections.
e90b8419
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 12, 2003
CommitterSmall typo.
fbb39c05
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 11, 2003
CommitterMessage in the other exit from acquire_sample_rows(), as per update from Mark Kirkwood. Also show the sample size.
8ff2005c
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 11, 2003
CommitterTry to make recently-added analyze log message look something like the others in style.
47c7f9ef
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 11, 2003
CommitterFix missed message update, per Alvaro Herrera.
fdd93470
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 11, 2003
CommitterImprove error message for cp or rm failur during create/drop database, per recent discussions.
9cb4a28f
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 10, 2003
Committercopydir() is supposed to return on failure, not elog(ERROR). Reduce ERROR to WARNING so we keep control.
336ebee2
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 10, 2003
CommitterRemove a bunch of content-free Diagnostics sections, as per previous discussion. (Still have some work to do editing the remainder.)
d4019b7c
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 09, 2003
CommitterUpdate comments about how locale settings are handled.
d0bfe7f1
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 09, 2003
CommitterFix a couple minor typos.
fd65be4a
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 08, 2003
Committer"statenebt" ?
44279693
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 08, 2003
CommitterDocument a bunch of formerly-undocumented date/time operators, including the SQL-spec OVERLAPS construct.
f176e379
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 08, 2003
CommitterAvoid using s_addr as a local variable name, to work around broken system headers on Unixware.
e702b04c
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 08, 2003
CommitterRemove another useless, counterproductive srandom() call.
2f606ed8
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 07, 2003
CommitterRemove geqo_random_seed parameter. Having geqo reset the global random() sequence every time it's called is bogus --- it interferes with user control over the seed, and actually decreases randomness overall (because a seed based on time(NULL) is pretty predictable). If you really want a reproducible result from geqo, do 'set seed = 0' before planning a query.
48beecda
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 07, 2003
CommitterRemove check on source address of a statistics packet. Check was broken by recent IPv6 changes, and since it's redundant with a kernel-level check anyway, it seems not worth trying to fix it. Per recent discussions.
75c35e0f
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 07, 2003
CommitterMake the default pg_hba.conf include an entry for ::1 only if configure set HAVE_IPV6. Per recent discussions.
7703e55c
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 07, 2003
Committerload_file() has to remove pre-existing shlibs that match the new file on either name or inode; otherwise load_external_function() won't do anything. At least on Linux, it appears that recompiling a shlib leads to a new file with a different inode, so the old code failed to detect a match.
f4ed6509
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 07, 2003
CommitterSecond try at IPv4-to-v6 mapping code; avoid assuming that the struct returned by getaddrinfo_all will have enough room for an IPv6 address.
92aa4622
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 05, 2003
CommitterAllow IPv4-format entries in pg_hba.conf to match IPv6 connections that have IPv4-embedded-in-IPv6 addresses. Per idea of Andreas Pflug.
3c9bb888
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 05, 2003
CommitterAdd missing space.
ba7ee1db
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 05, 2003
CommitterReimplement hash index locking algorithms, per my recent proposal to pghackers. This fixes the problem recently reported by Markus KrÌutner (hash bucket split corrupts the state of scans being done concurrently), and I believe it also fixes all the known problems with deadlocks in hash index operations. Hash indexes are still not really ready for prime time (since they aren't WAL-logged), but this is a step forward.
7a369371
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 04, 2003
CommitterAvoid consuming unreasonable amounts of memory when GRANT has many grantees.
ca43f71c
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 04, 2003
CommitterLooks like plperl has same bug as pltcl.
fe055e92
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 04, 2003
CommitterFix some problems with dropped columns in pltcl functions.
9dbfcc22
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 04, 2003
CommitterBack-patch the other part of Karel's formatting bug fix.
64b9dfa5
REL7_3_STABLE7.3.5
No linked threadSep 03, 2003
CommitterWork around ENOTEMPTY being an alias for EEXIST on some platforms.
b96e32eb
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 03, 2003
CommitterBackportedRepair problems with to_char() overrunning its input string. From Karel Zak.
5840b893
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+22 more
No linked threadSep 03, 2003
CommitterIn _bt_check_unique() loop, don't bother applying _bt_isequal() to killed items; just skip to the next item immediately. Only check for key equality when we reach a non-killed item or the end of the index page. This saves key comparisons when there are lots of killed items, as for example in a heavily-updated table that's not been vacuumed lately. Seems to be a win for pgbench anyway.
5ac2d7c0
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 02, 2003
CommitterCause standalone backend (including bootstrap case) to read the GUC config file if it exists. This was already discussed as being a good idea, and now seems the cleanest way to deal with initdb-time failures on machines with small SHMMAX. (The submitted patches instead modified initdb.sh to pass the correct sizing parameters, but that would still leave standalone backends prone to failure later. An admin who needs to use a standalone backend has enough trouble already, he shouldn't have to manually configure its shmem settings...)
b916cc43
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 02, 2003
CommitterSeveral fixes for hash indexes that involve changing the on-disk index layout; therefore, this change forces REINDEX of hash indexes (though not a full initdb). Widen hashm_ntuples to double so that hash space management doesn't get confused by more than 4G entries; enlarge the allowed number of free-space-bitmap pages; replace the useless bshift field with a useful bmshift field; eliminate 4 bytes of wasted space in the per-page special area.
d70610c4
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 02, 2003
CommitterFix a couple typos, add some more comments.
8b2450c8
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 02, 2003
CommitterRewrite hashbulkdelete() to make it amenable to new bucket locking scheme. A pleasant side effect is that it is *much* faster when deleting a large fraction of the indexed tuples, because of elimination of redundant hash_step activity induced by hash_adjscans. Various other continuing code cleanup.
39673ca4
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 02, 2003
CommitterPreliminary cleanup for hash index code (doesn't attack the locking problem yet). Fix a couple of bugs that would only appear if multiple bitmap pages are used, including a buffer reference leak and incorrect computation of bit indexes. Get rid of 'overflow address' concept, which accomplished nothing except obfuscating the code and creating a risk of failure due to limited range of offset field. Rename some misleadingly-named fields and routines, and improve documentation.
65c2d427
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 01, 2003
CommitterAdd some internals documentation for hash indexes, including an explanation of the remarkably confusing page addressing scheme. The file also includes my planned-but-not-yet-implemented revision of the hash index locking scheme.
eaeb8621
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadSep 01, 2003
CommitterMake documentation of pg_restore's -N, -o, -r switches bear some slight resemblance to their actual behavior.
7e2a4cfe
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadAug 28, 2003
Committerpg_dump and pg_restore -r had managed to diverge on the ordering of different object types. Fix, and centralize logic to try to prevent the same mistake in future.
209a8d63
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadAug 28, 2003
CommitterEnsure that FK constraints are dumped after primary/unique constraints, rather than relying on OID order of pg_constraint entries. Per gripe from Greg Stark.
80bc61c8
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadAug 28, 2003
CommitterFix stupid typo (mine I suppose) in CopyGetData. Per report from Dave Cramer.
ce2ab413
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadAug 28, 2003
CommitterAdjust date/time input parsing code to correctly distinguish the four SQLSTATE error codes required by SQL99 (invalid format, datetime field overflow, interval field overflow, invalid time zone displacement value). Also emit a HINT about DateStyle in cases where it seems appropriate. Per recent gripes.
d1031cde
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadAug 27, 2003
CommitterDepartment of second thoughts: can't reorder merge-join clauses.
64a32f9d
master7.4beta3REL_19_STABLE7.4beta3REL_18_STABLE7.4beta3REL_17_STABLE7.4beta3REL_16_STABLE7.4beta3REL_15_STABLE7.4beta3REL_14_STABLE7.4beta3REL_13_STABLE7.4beta3+21 more
No linked threadAug 27, 2003
CommitterPush subplan clauses to the back in qual lists for join plans, not only scan plans. Per observation from Rod Taylor.
73e3edf2
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 26, 2003
CommitterUse separate SQLSTATE codes for file not found/file exists, rather than lumping them into ERRCODE_UNDEFINED_OBJECT/ERRCODE_DUPLICATE_OBJECT. This seems reasonable since 'object' was meant to refer to 'object in the database' and a file is outside the database. Per request from Dave Cramer.
1de9615a
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 26, 2003
CommitterMop-up for previous change to determine default shared_buffers and max_connections at initdb time. Get rid of DEF_NBUFFERS and DEF_MAXBACKENDS macros, which aren't doing anything useful anymore, and put more likely defaults into postgresql.conf.sample.
f63cbcca
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 26, 2003
CommitterAdd the Brazilian time zone abbreviations BRT, BRST, FNT, FNST. ACT and ACST were already present. AMT and AMST conflict with the existing entries for Armenia; no change there for the moment.
3e51c155
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 25, 2003
CommitterAllow parsing of time and timetz inputs to accept the documented input syntax '040506' for '04:05:06', as well as '0405' for '04:05:00'. This has been broken since 7.2 but was only recently complained of.
412c57b1
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 25, 2003
CommitterRefactor code so that to_date() does not call to_timestamp() and then perform a timestamp-to-date coercion. Instead both routines share a subroutine that delivers the parsing result as a struct tm. This avoids problems with timezone dependency of to_date's result, and should be at least marginally faster too.
a17f2d76
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 25, 2003
CommitterSigh, I'm an idiot ... SSL_ERROR_WANT_READ isn't an error condition at all, it just means 'no data available yet'.
b0a0a806
REL7_3_STABLE7.3.5
No linked threadAug 22, 2003
CommitterTweak grammar to use FastAppend rather than lappend when constructing expr_lists. This appears to be the only remaining O(N^2) bottleneck in processing many-way 'x IN (a,b,c,...)' conditions.
29a43f39
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 22, 2003
CommitterTweak processing of multiple-index-scan plans to reduce overhead when handling many-way scans: instead of re-evaluating all prior indexscan quals to see if a tuple has been fetched more than once, use a hash table indexed by tuple CTID. But fall back to the old way if the hash table grows to exceed SortMem.
92ee2528
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 22, 2003
CommitterUpdates for array documentation, from Joe Conway.
432fb5b8
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 19, 2003
CommitterImprove dynahash.c's API so that caller can specify the comparison function as well as the hash function (formerly the comparison function was hardwired as memcmp()). This makes it possible to eliminate the special-purpose hashtable management code in execGrouping.c in favor of using dynahash to manage tuple hashtables; which is a win because dynahash knows how to expand a hashtable when the original size estimate was too small, whereas the special-purpose code was too stupid to do that. (See recent gripe from Stephan Szabo about poor performance when hash table size estimate is way off.) Free side benefit: when using string_hash, the default comparison function is now strncmp() instead of memcmp(). This should eliminate some part of the overhead associated with larger NAMEDATALEN values.
80860c32
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 19, 2003
CommitterWhen compiling a plpgsql trigger function, include the OID of the table the trigger is attached to in the hashkey. This ensures that we will create separate compiled trees for each table the trigger is used with, avoiding possible datatype-mismatch problems if the tables have different rowtypes. This is essentially the same bug recently identified in plpython --- though plpgsql doesn't seem as prone to crash when the rowtype changes underneath it. But failing robustly is no substitute for just working.
23e10843
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 18, 2003
CommitterFix ARRAY[] construct so that in multidimensional case, elements can be anything yielding an array of the proper kind, not only sub-ARRAY[] constructs; do subscript checking at runtime not parse time. Also, adjust array_cat to make array || array comply with the SQL99 spec.
e9452463
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 17, 2003
CommitterClean up locktable init code per recent gripe from Kurt Roeckx. No change in behavior, but old code would have failed to detect overrun of MAX_LOCKMODES.
de9c553f
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 17, 2003
CommitterSomebody forgot to include any actual documentation for ADD_MISSING_FROM.
c7718381
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 17, 2003
CommitterUpdate documentation to reflect the fact that ORDER BY, GROUP BY, etc are now driven by the default btree opclass, rather than assuming that particular operator names have the needed semantics.
42159479
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 17, 2003
CommitterFix broken markup.
1b687044
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 17, 2003
CommitterCreate a 'type cache' that keeps track of the data needed for any particular datatype by array_eq and array_cmp; use this to solve problems with memory leaks in array indexing support. The parser's equality_oper and ordering_oper routines also use the cache. Change the operator search algorithms to look for appropriate btree or hash index opclasses, instead of assuming operators named '<' or '=' have the right semantics. (ORDER BY ASC/DESC now also look at opclasses, instead of assuming '<' and '>' are the right things.) Add several more index opclasses so that there is no regression in functionality for base datatypes. initdb forced due to catalog additions.
ec646dbc
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 17, 2003
CommitterRewrite array_cmp to not depend on deconstruct_array. Should be a little faster, but more importantly does not leak memory. Still needs more work though, per my recent note to pgsql-hackers.
432ca911
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 15, 2003
CommitterMinor copy-editing.
0684043e
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 14, 2003
CommitterFix longstanding thinko in SSL protocol documentation: the server's initial response is 'S', not 'Y', when it is willing to do SSL.
483363b0
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 14, 2003
CommitterAdd missing quotes.
4529d2cf
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 14, 2003
CommitterSomeone moved PageOutput here from common.c, but forgot to move all the #includes it depends on.
80cedf9b
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 14, 2003
CommitterRemove unnecessary #include's (see c.h).
dbb4dd29
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 14, 2003
CommitterWorkaround for platforms that have getaddrinfo() without AI_NUMERICHOST. We don't actually need the flag, so just #define it as zero in such cases.
71b0fe5b
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 14, 2003
CommitterHandle double-quotes correctly in user names in ACL lists.
2b5f049f
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 14, 2003
Committerlibpq failed to cope with COPY FROM STDIN if the command was issued via extended query protocol, because it sends Sync right after Execute without realizing that the command to be executed is COPY. There seems to be no reasonable way for it to realize that, either, so the best fix seems to be to make the backend ignore Sync during copy-in mode. Bit of a wart on the protocol, but little alternative. Also, libpq must send another Sync after terminating the COPY, if the command was issued via Execute.
c01641f8
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 13, 2003
CommitterAdd PQexecPrepared() and PQsendQueryPrepared() functions, to allow libpq users to perform Bind/Execute of previously prepared statements. Per yesterday's discussion, this offers enough performance improvement to justify bending the 'no new features during beta' rule.
0be731ad
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 13, 2003
CommitterMove MemoryContextCheck() call from bottom of PostgresMain loop to just before CommitTransactionCommand(). This is a more sensible place to put it since commit discards a lot of contexts, and we'd not find out about stomps affecting only transaction-local contexts.
5be44fa4
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 13, 2003
CommitterInclude 'IPv4', 'IPv6', or 'Unix' in socket-creation failure messages, in hopes of soothing fears of those with partial IPv6 support. Still an open question whether we should report EAFNOSUPPORT errors at all, though.
92345910
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 12, 2003
CommitterCope with NoData message from backend. Needed for case where PQexecParams is used with a statement that doesn't return data.
90ade5b7
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 12, 2003
CommitterMarginal hacks to move some processing out of the per-client-message processing loop; avoids extra overhead when using parse/bind/execute messages instead of single Query message.
b6e5823e
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 12, 2003
CommitterChange some frequently-reached elog(DEBUG...) calls to ereport(DEBUG...) for speed reasons. (ereport falls out much more quickly when no output is needed than elog does.)
fcb90fdc
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 12, 2003
CommitterAvoid unnecessary work when stats collection is disabled. Tighten search loop in pgstat_initstats. Per report from Gavin Sherry.
1c6702f6
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 12, 2003
CommitterRewriter and planner should use only resno, not resname, to identify target columns in INSERT and UPDATE targetlists. Don't rely on resname to be accurate in ruleutils, either. This fixes bug reported by Donald Fraser, in which renaming a column referenced in a rule did not work very well.
302f1a86
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 11, 2003
CommitterCode cleanup inspired by recent resname bug report (doesn't fix the bug yet, though). Avoid using nth() to fetch tlist entries; provide a common routine get_tle_by_resno() to search a tlist for a particular resno. This replaces a couple uses of nth() and a dozen hand-coded search loops. Also, replace a few uses of nth(length-1, list) with llast().
88381ade
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 11, 2003
CommitterDo not link in libwsock32 on non-win32 platforms. Improve grammar of thread-safety comments.
cae912d0
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 11, 2003
CommitterRepair potential deadlock created by recent changes to recycle btree index pages: when _bt_getbuf asks the FSM for a free index page, it is possible (and, in some cases, even moderately likely) that the answer will be the same page that _bt_split is trying to split. _bt_getbuf already knew that the returned page might not be free, but it wasn't prepared for the possibility that even trying to lock the page could be problematic. Fix by doing a conditional rather than unconditional grab of the page lock.
ffafacc1
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 10, 2003
CommitterMake various links point to specific places instead of entire parts (doubtless these are hangovers from the old separate-books days).
18c10877
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 10, 2003
CommitterRequest verbose error message output in bug reports.
0019532f
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 10, 2003
CommitterUpdate docs for 7.4 array features and polymorphic functions. This is Joe Conway's patch of 7-Aug plus further editorializing of my own.
5bfb0540
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 09, 2003
CommitterAvoid malloc(0). Although standard mallocs seem not to object, some debugging malloc packages do.
635d00ec
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 08, 2003
CommitterFix nasty little order-of-operations bug in _SPI_cursor_operation. Per report from Mendola Gaetano.
332c6940
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 08, 2003
CommitterSuppress unused-variable warnings when building without Asserts.
870886af
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 08, 2003
CommitterBackportedConversion functions must be STRICT to prevent them from getting null inputs.
f6564377
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+22 more
No linked threadAug 08, 2003
CommitterFix floating-point timestamp comparisons to not go nuts if NaN is encountered; per bug report from Christian van der Leeden 8/7/03. Also, adjust larger/smaller routines (MAX/MIN) to share code with comparisons for timestamp, interval, timetz.
f2b6bb42
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 08, 2003
CommitterFix typo.
31773533
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 07, 2003
CommitterDon't assume that struct option is available just because we can find a getopt_long(). This is more or less the same problem as we saw earlier with getaddrinfo() and struct addrinfo, and for the same reason: random user-added libraries might contain the subroutine, but there's no guarantee we will find the matching header files.
33ab177a
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 07, 2003
CommitterSCO_ACCEPT_BUG code didn't get updated for new SockAddr struct definition.
fea2ffa7
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 07, 2003
Committercreate_unique_plan() should not discard existing output columns of the subplan it starts with, as they may be needed at upper join levels. See comments added to code for the non-obvious reason why. Per bug report from Robert Creager.
ecbed6e1
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 07, 2003
CommitterDon't use HAVE_STRUCT_ADDRINFO as a guide to whether netdb.h defines macros like AI_NUMERICHOST; instead, test the macros individually. Should fix recent reports of trouble on AIX and Unixware.
d862045d
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 07, 2003
CommitterRemove unnecessary use of multiple cat processes to feed psql; this reduces the number of concurrent processes launched during parallel regression tests, possibly avoiding failures such as exceeding a user's max number of processes. This essentially completes the reversion of 1.27->1.28.
b830e933
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 07, 2003
CommitterRename fields of DestReceiver to avoid collisions with (ill-considered) macros in some platforms' sys/socket.h.
338aa57b
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 06, 2003
CommitterAdopt a random backoff algorithm for sleep delays when waiting for a spinlock. Per recent pghackers discussion.
d5f7d2c6
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 06, 2003
CommitterFix compiler-detected problem for Alphas: it seems strlen returns something wider than int on that platform. Also, remove bogus assumption that sizeof("INT_MAX") has something to do with the maximum number of digits in an int.
a6672880
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 06, 2003
CommitterImprove documentation of ParseDateTime(). Reorder tests to prevent writing one more value into return arrays than will fit. This is potentially a stack smash, though I do not think it is a problem in current uses of the routine, since a failure return causes elog anyway.
630684d3
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+21 more
No linked threadAug 05, 2003
CommitterBackportedFix several places where fractional-second inputs were misprocessed in HAVE_INT64_TIMESTAMP cases, including two potential stack smashes when more than six fractional digits were supplied. Per bug report from Philipp Reisner.
9d41073f
master7.4beta2REL_19_STABLE7.4beta2REL_18_STABLE7.4beta2REL_17_STABLE7.4beta2REL_16_STABLE7.4beta2REL_15_STABLE7.4beta2REL_14_STABLE7.4beta2REL_13_STABLE7.4beta2+22 more
No linked threadAug 05, 2003
CommitterFix some copyright notices that weren't updated. Improve copyright tool so it won't miss 'em again.
2f9c859e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterUpdate vacuumlo to be properly schema-aware. Improve documentation.
77489f45
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterFix erroneous direct reference to postgres.tar.gz, per bug report from Garrick Staples.
c45b851e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterSub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their object files do not get built with -fpic.
3b29525a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterFix to build correctly outside source tree.
f237a80d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterMust print server's failure message before trying reconnect, not after.
17d6721e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterFix pltcl and plpython to support STATEMENT triggers.
e627dd2d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterBackportedSSL_read/SSL_write do not approximate the return conventions of recv() and send() very well at all; and in any case we can't use retval==0 for EOF due to race conditions. Make the same fixes in the backend as are required in libpq.
e8e1d455
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadAug 04, 2003
CommitterBackportedFix some more problems with testing error returns from SSL.
39a9496d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadAug 04, 2003
CommitterMinor cleanups in S_LOCK_TEST code.
963c1fa9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterHPUX's horology behavior is OS-dependent, not hardware-dependent.
5f6401e2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterRemove --enable-recode feature, since it's been broken by IPv6 changes, and seems to have too few users to justify maintaining.
4c3c8c04
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterPut back braces removed by pgindent (not really pgindent's fault).
010c6504
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 04, 2003
CommitterTighten inline_function's test for overly complex parameters. This should catch most situations where repeated inlining blows up the expression complexity unreasonably, as in Joe Conway's recent example.
455a55fc
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 03, 2003
CommitterReconsider context for calling callback functions --- original idea that they aren't part of error processing is clearly faulty.
c1c7b338
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 03, 2003
CommitterDon't pull in libbind except on BeOS, per pgsql-bugs discussion around 12 Jun 2003.
850489ab
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 03, 2003
CommitterComment out entries for IPv6 localhost connections, since they fail on machines with no IPv6 support.
17bb563a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterPostmaster erroneously rejected SSL connections on IPv6.
5b545644
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterFix some unprotected references to AF_UNIX ... wouldn't compile on platforms without AF_UNIX sockets.
3b7c5aa5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
Committerinet_recv() wasn't IPv6-ready.
e490ee80
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterCode review for sslmode patch: eliminate memory leak, avoid giving a completely useless error message in 'allow' case, don't retry connection at the sendauth stage (by then the server will either let us in or not, no point in wasting cycles on another try in the other SSL state).
57c08791
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterSince HPUX now exists for Itanium, we should decouple the assumption that OS=hpux is the same as CPU=hppa. First steps at doing this. With these patches, we still work on hppa with either gcc or HP's cc. We might work on hpux/itanium with gcc, but I can't test it. Definitely will not work on hpux/itanium with non-gcc compiler, for lack of spinlock code.
13ac54d1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterGet the include ordering right for TCL includes vs whatever is coming from --with-includes.
75619cff
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterFix a few of the more blatantly unportable constructs in this file.
6520c666
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterFix inconsistent static-vs-not-static declarations.
3a1ed876
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterFix compile warning.
38a412ec
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterFix for Alpha portability.
2c018f9b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterUpdate contrib regression tests for recent error message editing.
6ed071bc
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterBackportedAdd missing #include.
1e120a8e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterFix some minor portability issues, per Chris K-L.
3896f48d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterFix my own mistake in GUC variable annotation.
30f665d7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterImprove description of restoring pg_dumpall backups, per gripe from Havard Eidnes.
eb06e6d1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterAdjust 'permission denied' messages to be more useful and consistent.
c4cf7fb8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadAug 01, 2003
CommitterVery minor editing.
a063d4b3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 31, 2003
CommitterFix mistaken error code assignments, per Peter's note 7/28/03.
12971268
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 31, 2003
CommitterWhen using a temp installation, unset PGUSER and other variables we might have inherited from the environment that would possibly cause psql to fail to connect to the temp installation properly. Per trouble report from Markus Bertheau 7/1/03.
d7d7d7fa
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 31, 2003
CommitterCause library-preload feature to report error if specified initialization function is not found. Also, make all the PL libraries have initialization functions with standard names. Patch from Joe Conway.
8b1ea2f5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 31, 2003
CommitterUpgrade parsing code for ACLs to be less hokey and more cognizant of the actual logical structure and quoting rules being used. Fixes bug reported by Chris K-L on 7/8/03.
8488f254
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 31, 2003
CommitterAdd pretty-printing variants of pg_get_viewdef and related functions. Patch from Andreas Pflug.
52347b66
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 30, 2003
CommitterFix numeric_smaller, numeric_larger, float4smaller, float4larger, float8smaller, float8larger (and thereby the MIN/MAX aggregates on these datatypes) to agree with the datatypes' comparison operations as regards NaN handling. In all these datatypes, NaN is arbitrarily considered larger than any normal value ... but MIN/MAX had not gotten the word. Per recent discussion on pgsql-sql.
4b1c6695
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 30, 2003
CommitterCause ARRAY[] construct to return a NULL array, rather than raising an error, if any input element is NULL. This is not what we ultimately want, but until arrays can have NULL elements, it will have to do. Patch from Joe Conway.
9ca5c754
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 30, 2003
CommitterWhen shutting down the regression test postmaster after 'make check', wait for the postmaster to actually exit. Otherwise running repeated 'make check's tends to misbehave, because we try to remove and recreate the data directory while the old PM is still alive.
5c7d04d2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 30, 2003
CommitterBackportedFix longstanding error in _bt_search(): should moveright at top of loop not bottom. Otherwise we fail to moveright when the root page was split while we were "in flight" to it. This is not a significant problem when the root is above the leaf level, but if the root was also a leaf (ie, a single-page index just got split) we may return the wrong leaf page to the caller, resulting in failure to find a key that is in fact present. Bug has existed at least since 7.1, probably forever.
892a51c3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+23 more
No linked threadJul 29, 2003
CommitterCoerce unknown-literal-constant default values to the column type during CREATE TABLE (or ALTER TABLE SET DEFAULT), rather than postponing it to the time that the default is inserted into an INSERT command by the rewriter. This reverses an old decision that was intended to make the world safe for writing f1 timestamp default 'now' but in fact merely made the failure modes subtle rather than obvious. Per recent trouble report and followup discussion.
5e3c09a1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 29, 2003
CommitterThere is no reason to cast valuntil to timestamp, and a very good reason not to: it fails for an 'invalid' abstime. Per bug report of today's date.
f353f8e8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 29, 2003
CommitterUse a process-specific temp file name, per Andreas Haumer.
a5e804df
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 29, 2003
CommitterApply (a somewhat revised version of) Greg Mullane's patch to eliminate heuristic determination of day vs month in date/time input. Add the ability to specify that input is interpreted as yy-mm-dd order (which formerly worked, but only for yy greater than 31). DateStyle's input component now has the preferred spellings DMY, MDY, or YMD; the older keywords European and US are now aliases for the first two of these. Per recent discussions on pgsql-general.
9c2a7c22
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 29, 2003
CommitterCode review for recent GUC changes --- try to make it less obvious that these things were added at different times by different people ;-). Includes Aizaz Ahmed's patch to remove duplicate array in help_config.c.
2baf4efe
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 28, 2003
CommitterAdd error stack traceback support for SQL-language functions.
aad71b40
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 28, 2003
CommitterLocalizability improvement.
00941bf9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 28, 2003
Committerelog() is no longer a gettext trigger --- all remaining uses are considered internal errors.
b7489ac4
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 28, 2003
CommitterRename psql's VERBOSE variable to VERBOSITY, per suggestion from Bruce.
02d79e76
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 28, 2003
CommitterA visit from the message-style police ...
81b5c8a1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 28, 2003
Committerelog mop-up: bring some straggling fprintf(stderr)'s into the elog world.
b556e820
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 27, 2003
CommitterFix some localizability issues with existing errcontext() calls.
e7f36451
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 27, 2003
CommitterMove ERRCODE_XXX macros into their own header file.
2d7a6a9e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 27, 2003
Committerelog mop-up.
aec57ea8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 27, 2003
Committerelog mop-up.
e8db9b26
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 27, 2003
CommitterRemove unportable // comments.
aeea73d4
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 27, 2003
CommitterError message editing in utils/adt. Again thanks to Joe Conway for doing the bulk of the heavy lifting ...
b6a1d25b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 27, 2003
CommitterUpdate to match error editing.
5f2499d5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 26, 2003
CommitterError message editing in src/pl. The plpython module could use another look ... I'm not real certain which errors are strictly internal and which are likely to be provoked by users.
3b04893f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 25, 2003
CommitterRecent patch to dump nondefault attstorage settings broke pg_dump for dropped columns. Fix by using LEFT JOIN rather than straight join between pg_attribute and pg_type. Also, use pg_type.oid as input to format_type, so that we don't get a failure on deleted types of deleted columns (this may be a change we ought to backpatch to 7.3....).
b92d055b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 25, 2003
CommitterError message editing in backend/utils (except /adt).
689eb53e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 25, 2003
CommitterError message editing in backend/optimizer, backend/rewrite.
45708f5e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 25, 2003
CommitterError message editing in backend/storage.
cfa191f3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 24, 2003
CommitterFix a few portability issues, adjust error messages.
658fca8d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 24, 2003
CommitterError message editing in contrib (mostly by Joe Conway --- thanks Joe!)
8fd5b3ed
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 24, 2003
CommitterAdd tsearch2.
f0c5384d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 24, 2003
CommitterBackportedFix timestamp_date for HAVE_INT64_TIMESTAMP case.
0643b6a1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJul 24, 2003
CommitterBackportedRepair 7.3 breakage in timestamp-to-date conversion for dates before 2000.
47f14e7d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJul 24, 2003
CommitterDon't refer to AF_UNIX in code not protected with HAVE_UNIX_SOCKETS.
2d9a001c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 24, 2003
CommitterHave a go at fixing various outstanding portability issues in code that was modified for IPv6. Use a robust definition of struct sockaddr_storage, do a proper configure test to see if ss_len exists, don't assume that getnameinfo() will handle AF_UNIX sockets, don't trust getaddrinfo to return the protocol we ask for, etc. This incorporates several outstanding patches from Kurt Roeckx, but I'm to blame for anything that doesn't work ...
df63503d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 23, 2003
CommitterJust a spot of copy-editing.
18db3437
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 23, 2003
CommitterError message editing in backend/bootstrap, /lib, /nodes, /port.
c72839d5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 22, 2003
CommitterError message editing for foreign-key triggers.
56f87688
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 22, 2003
CommitterA few parentheses shy of a load here ...
fe5de484
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 22, 2003
CommitterBackportedwups, took out one memset too many ...
25114d3e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJul 22, 2003
CommitterBack-patch fix for bugs in pgstat_initstats.
31967387
REL7_3_STABLE7.3.4
No linked threadJul 22, 2003
CommitterError message editing in backend/libpq, backend/postmaster, backend/tcop.
b05d3ae1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 22, 2003
CommitterError message editing in backend/access.
ec7aa4b5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 21, 2003
CommitterFix regression test broken by recent view change.
c6106d91
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 21, 2003
CommitterError message editing in backend/executor.
5e6d691e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 21, 2003
CommitterError message editing in backend/catalog.
d8528630
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 21, 2003
CommitterAnother round of error message editing, covering backend/commands/.
da4ed8bf
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 20, 2003
CommitterError message editing: finish up undone task of reporting the problem xid when we fail to access pg_clog.
fa3bd4db
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 19, 2003
CommitterAdd ereport-related functions to GETTEXT_TRIGGERS list.
2a4a0c4d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 19, 2003
CommitterAnother round of error message editing, covering backend/parser/.
a56ff9a0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 19, 2003
CommitterFirst bits of work on error message editing.
216311d5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 18, 2003
CommitterIt seems some case-insensitive locales sort upper case before lower (BBBB before bbbb) and others the other way around. Provide comparison files that cater to both approaches.
5ea214b5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 18, 2003
CommitterAdd an upper limit to IS_VALID_JULIAN() to defend against overflow in date2j(). This ensures we give reasonable errors instead of bizarre behavior for input dates far in the future.
157e17e2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 17, 2003
CommitterBackportedOh, for crying in a bucket ... relax Assert so that glibc's strxfrm does not dump core.
0347d310
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJul 17, 2003
CommitterBackportedWork around buggy strxfrm() present in some Solaris releases.
59d9a370
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJul 17, 2003
CommitterBackportedFor COMMENT ON DATABASE where database name is unknown or not the current database, emit a WARNING and do nothing, rather than raising ERROR. Per recent discussion in which we concluded this is the best way to deal with database dumps that are reloaded into a database of a new name.
0c172909
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJul 17, 2003
CommitterBackportedRepair boundary-case bug introduced by patch of two months ago that fixed incorrect initial setting of StartUpID. The logic in XLogWrite() expects that Write->curridx is advanced to the next page as soon as LogwrtResult points to the end of the current page, but StartupXLOG() failed to make that happen when the old WAL ended exactly on a page boundary. Per trouble report from Hannu Krosing.
8cf63ba9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJul 17, 2003
CommitterMake EXTRACT(TIMEZONE) and SET/SHOW TIMEZONE follow the SQL convention for the sign of timezone offsets, ie, positive is east from UTC. These were previously out of step with other operations that accept or show timezones, such as I/O of timestamptz values.
764f72dc
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 17, 2003
CommitterAdd defenses against trying to attach qual conditions to a setOperation query node, since that won't work unless the planner is upgraded. Someday we should try to support at least some cases of this, but for now just plug the hole in the dike. Per discussion with Dmitry Tkach.
93236b58
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 16, 2003
CommitterNow that I look, SHOW TRANSACTION_ISOLATION isn't quite consistent with SET TRANSACTION_ISOLATION, either.
ffcb1491
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 15, 2003
CommitterCause SHOW DATESTYLE to produce a string that will be accepted by SET DATESTYLE, for instance 'SQL, European' instead of 'SQL with European conventions'. Per gripe a month or two back from Barry Lind.
cfa6999d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 15, 2003
CommitterAvoid use of int64_t, which seems not to be very portable. Simplify padding logic for struct sockaddr_storage --- original version did not do what it claimed to when SALEN is defined.
274328c8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 15, 2003
CommitterOSF supports pthreads, per Philip Yarra.
bbac4188
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 15, 2003
CommitterTweak original coding so that we can determine the platform-specific shared_buffers and max_connections values to use before we run the bootstrap process. Without this, initdb would fail on platforms where the hardwired default values are too large. (We could get around that by making the hardwired defaults tiny, perhaps, but why slow down bootstrap by starving it for buffers...)
9117e554
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 15, 2003
CommitterRemove duplicate definition of ERROR.
683f4d0a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 14, 2003
CommitterMake cost estimates for SubqueryScan more realistic: charge cpu_tuple_cost for each row processed, and don't forget the evaluation cost of any restriction clauses attached to the node. Per discussion with Greg Stark.
3d09f6c5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 14, 2003
CommitterFix typo in comment, as noted by Weiping He.
b8001962
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 14, 2003
CommitterThe default values for shared_buffers and max_connections are now 1000 and 100 respectively, if the platform will allow it. initdb selects values that are not too large to allow the postmaster to start, and places these values in the installed postgresql.conf file. This allows us to continue to start up out-of-the-box on platforms with small SHMMAX, while having somewhat-realistic default settings on platforms with reasonable SHMMAX. Per recent pghackers discussion.
de98a7e2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 14, 2003
CommitterWhoops, missed committing this change to match cosmetic changes in ascii.c.
84600000
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 14, 2003
CommitterBackportedFix a *second* buffer overrun bug in to_ascii(). Grumble.
b1eb992c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+23 more
No linked threadJul 14, 2003
Committertm2timestamp should return -1, not elog, on overflow. (In the backend this is merely an API inconsistency, but in ecpg it's fatal.) Also, fix misconceived overflow test in HAVE_INT64_TIMESTAMP case.
841b4a2d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 04, 2003
CommitterFix missing code for HAVE_INT64_TIMESTAMP.
3abbce39
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 04, 2003
CommitterAdd --help-config facility to dump information about GUC parameters without needing a running backend. Reorder postgresql.conf.sample to match new layout of runtime.sgml. This commit re-adds work lost in Wednesday's crash.
b700a672
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 04, 2003
CommitterAdd #include <limits.h> (re-add lost change from Wednesday).
efbbd107
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 04, 2003
CommitterSome early work on error message editing. Operator-not-found and function-not-found messages now distinguish the cases no-match and ambiguous-match, and they follow the style guidelines too.
79fafdf4
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 04, 2003
CommitterFix bug I introduced in recent rewrite of NUMERIC code: numeric to integer conversions gave the wrong answer for values with stripped trailing zeroes, such as 10000000.
cdb8a844
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 03, 2003
CommitterDo honest transformation and preprocessing of LIMIT/OFFSET clauses, instead of the former kluge whereby gram.y emitted already-transformed expressions. This is needed so that Params appearing in these clauses actually work correctly. I suppose some might claim that the side effect of 'SELECT ... LIMIT 2+2' working is a new feature, but I say this is a bug fix.
b89140a7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 03, 2003
CommitterCode review for UPDATE tab SET col = DEFAULT patch ... whack it around so it has some chance of working in rules ...
455891bf
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 03, 2003
CommitterSupport polymorphic functions in plpgsql. Along the way, replace linked-list search of function cache with hash-table lookup. By Joe Conway.
b837c992
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 01, 2003
CommitterAggregates can be polymorphic, using polymorphic implementation functions. It also works to create a non-polymorphic aggregate from polymorphic functions, should you want to do that. Regression test added, docs still lacking. By Joe Conway, with some kibitzing from Tom Lane.
e3b1b6c0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 01, 2003
CommitterDept. of second thoughts: supporting inlining of polymorphic SQL functions takes only a few more lines of code than preventing it, so might as well support it.
02b5d8e3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 01, 2003
CommitterFix documentation comment about restricted environments, per Kevin Jacobs.
dc8dec6a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 01, 2003
CommitterSTRENGH => STRENGTH, per Jon Jensen.
e0016db7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 01, 2003
CommitterDepartment of second thoughts: even if we can't run the full parser on a SQL function with polymorphic inputs, we can at least run the raw parser to catch silly syntactic errors.
f973b745
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 01, 2003
CommitterSQL functions can have arguments and results declared ANYARRAY or ANYELEMENT. The effect is to postpone typechecking of the function body until runtime. Documentation is still lacking.
d6d07a0e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJul 01, 2003
CommitterUpdate contrib/Makefile's list of subdirectories that it does not try to build.
ede1734c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 30, 2003
CommitterPut back inappropriately-removed entry for earthdistance subdirectory.
142cb7b3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 30, 2003
CommitterRename plpython to plpythonu, and update documentation to reflect its now-untrusted status.
61152244
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 30, 2003
CommitterAdd GUC option log_error_verbosity to control which fields of error reports get put into the postmaster log. Options are TERSE, DEFAULT, VERBOSE, with the same behavior as implemented on the client side in libpq.
219e2978
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 30, 2003
CommitterRestructure building of join relation targetlists so that a join plan node emits only those vars that are actually needed above it in the plan tree. (There were comments in the code suggesting that this was done at some point in the dim past, but for a long time we have just made join nodes emit everything that either input emitted.) Aside from being marginally more efficient, this fixes the problem noted by Peter Eisentraut where a join above an IN-implemented-as-join might fail, because the subplan targetlist constructed in the latter case didn't meet the expectation of including everything. Along the way, fix some places that were O(N^2) in the targetlist length. This is not all the trouble spots for wide queries by any means, but it's a step forward.
835bb975
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 29, 2003
CommitterSupport expressions of the form 'scalar op ANY (array)' and 'scalar op ALL (array)', where the operator is applied between the lefthand scalar and each element of the array. The operator must yield boolean; the result of the construct is the OR or AND of the per-element results, respectively.
bee21792
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 29, 2003
CommitterUpdate psql for some features of new FE/BE protocol. There is a client-side AUTOCOMMIT mode now: '\set AUTOCOMMIT off' supports SQL-spec commit behavior. Get rid of LO_TRANSACTION hack --- the LO operations just work now, using libpq's ability to track the transaction status. Add a VERBOSE variable to control verboseness of error message display, and add a %T prompt-string code to show current transaction-block status. Superuser state display in the prompt string correctly follows SET SESSION AUTHORIZATION commands. Control-C works to get out of COPY IN state.
f9ebf369
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 28, 2003
CommitterWhen using new protocol, PQexec can get out of a COPY IN or COPY OUT state by itself, so do so.
ea20397b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 28, 2003
CommitterAdd is_superuser parameter reporting, soon to be used by psql.
ea886339
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 27, 2003
CommitterFix compile warnings.
7f1249a8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 27, 2003
CommitterMissing calls to PQclear in large_obj.c and describe.c.
7dc5472d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 27, 2003
CommitterCreate real array comparison functions (that use the element datatype's comparison functions), replacing the highly bogus bitwise array_eq. Create a btree index opclass for ANYARRAY --- it is now possible to create indexes on array columns. Arrange to cache the results of catalog lookups across multiple array operations, instead of repeating the lookups on every call. Add string_to_array and array_to_string functions. Remove singleton_array, array_accum, array_assign, and array_subscript functions, since these were for proof-of-concept and not intended to become supported functions. Minor adjustments to behavior in some corner cases with empty or zero-dimensional arrays.
b3c0551e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 27, 2003
CommitterAdd comment pointing out that XLByteToPrevSeg macro is not broken.
0c985ab5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 26, 2003
CommitterIn ISO datestyle, never emit just HH:MM, always emit HH:MM:SS or HH:MM:SS.SSS... when there is a nonzero part-of-a-day field in an interval value. The seconds part used to be suppressed if zero, but there's no equivalent behavior for timestamp, and since we're modeling this format on timestamp it's probably wrong. Per complaint and patch from Larry Rosenman.
621691d8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 25, 2003
CommitterBackportedDon't generate 'zero' typeids in the output from gen_cross_product. This is no longer necessary or appropriate since we don't use zero typeid as a wildcard anymore, and it fixes a nasty performance problem with functions with many parameters. Per recent example from Reuven Lerner.
5cf18b1a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJun 25, 2003
Committer'third' -> 'fourth' where needed, per Joe Conway.
91e6f51a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 25, 2003
CommitterChange pqInternalNotice to accept a format string and args instead of just a preformatted message; per suggestion by Sean Chittenden.
ab5c7751
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 23, 2003
CommitterRevise hash join and hash aggregation code to use the same datatype- specific hash functions used by hash indexes, rather than the old not-datatype-aware ComputeHashFunc routine. This makes it safe to do hash joining on several datatypes that previously couldn't use hashing. The sets of datatypes that are hash indexable and hash joinable are now exactly the same, whereas before each had some that weren't in the other.
bff0422b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 22, 2003
CommitterFix some index entries.
0dda75f6
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 22, 2003
CommitterAdjust chapter ordering in Internals part to something that seems more reasonable.
a171edf8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 22, 2003
CommitterRemove a lot of desperately obsolete material (which was all out of sight, out of mind, because it'd been commented out years ago). Try to bring the remains up to a reasonable level of currency, and give it all approximately the same high level of abstraction.
14847af4
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 22, 2003
CommitterUse libpq's new logic to get the server version, instead of doing it ourselves.
dd81eee2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 22, 2003
CommitterBring the libpq example programs into the 21st century.
e92dc1e1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 22, 2003
CommitterGet rid of extraneous newline in PQendcopy error output (was causing regression test diffs...).
21e0b7b8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 21, 2003
CommitterUpdate libpq to make new features of FE/BE protocol available to client applications. Some editorial work on libpq.sgml, too.
efc3a25b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 21, 2003
CommitterFix some markup problems.
b8d601e7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 21, 2003
CommitterFix for extended-query protocol: in event of error, backend was issuing a ReadyForQuery (Z message) immediately and then another one after the Sync message arrives. Suppress the first one to make it work per spec.
4342e6ea
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 20, 2003
CommitterWe neglected to set conn->raddr.salen, leading to breakage of CANCEL and probably other stuff.
5fc9f3d5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 20, 2003
CommitterDisallow dollar sign in operator names, instead allow it as a non-first character in identifiers. The first change eliminates the current need to put spaces around parameter references, as in "x<=$2". The second change improves compatibility with Oracle and some other RDBMSes. This was discussed and agreed to back in January, but did not get done.
1bd22f55
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 19, 2003
CommitterMake FLOAT(p) measure the precision p in bits, not decimal digits, to match the SQL standard. Document FLOAT and FLOAT(p) notations in datatype.sgml. Per recent pghackers discussion.
eab5d643
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 17, 2003
CommitterFix error line numbers reported for errors in plpgsql_parse_word and siblings.
f12f8990
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 17, 2003
CommitterBackportedFix bugs in interval-to-time conversion: HAVE_INT64_TIMESTAMP case did not work at all, and neither case behaved sanely for negative intervals.
3467b1a1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJun 16, 2003
CommitterAllow GROUP BY, ORDER BY, DISTINCT targets to be unknown literals, silently resolving them to type TEXT. This is comparable to what we do when faced with UNKNOWN in CASE, UNION, and other contexts. It gets rid of this and related annoyances: select distinct f1, '' from int4_tbl; ERROR: Unable to identify an ordering operator '<' for type unknown This was discussed many moons ago, but no one got round to fixing it.
a4997254
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 16, 2003
CommitterAdjust nestloop-with-inner-indexscan plan generation so that we catch some cases of redundant clauses that were formerly not caught. We have to special-case this because the clauses involved never get attached to the same join restrictlist and so the existing logic does not notice that they are redundant.
cb02610e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 15, 2003
CommitterReplace cryptic 'Unknown kind of return type' messages with something hopefully a little more useful.
3fb6f134
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 15, 2003
CommitterCause GROUP BY clause to adopt ordering operators from ORDER BY when both clauses specify the same targets, rather than always using the default ordering operator. This allows 'GROUP BY foo ORDER BY foo DESC' to be done with only one sort step.
996fdb9a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 15, 2003
Committerindex() -> strchr().
da78e3e2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 15, 2003
CommitterOkay, recognize freebsd 2.* and 3.* too.
a2d08b99
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 13, 2003
CommitterExpect FreeBSD 5.* to have standard float arithmetic.
bee114c3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 13, 2003
CommitterFix broken markup.
71620017
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 12, 2003
CommitterBackportedFix SQL function executor for case where last command of a function is not a SELECT. We didn't use to allow that, but we do now.
cc2fc4a7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJun 12, 2003
Committer<sys/socket.h> requires <sys/types.h> to already have been included on some platforms.
ccd99a5e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 12, 2003
CommitterUpdate expected file to match new _int.sql.
6a276b7b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 11, 2003
CommitterBackportedFix brain damage in deciding which python input converter to use.
d2e028b1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJun 11, 2003
Committerpg_dump and pg_restore were stripping quotes and downcasing some but not all SQL identifiers taken from command line arguments. We decided years ago that that was a bad idea: identifiers taken from the command line should be treated as literally correct. Remove the inconsistent code that has crept in recently. Also fix pg_dump so that the combination of --schema and --table does what you'd expect, namely dump exactly one table from exactly one schema. Per gripe from Deepak Bhole of Red Hat.
8bfe93c5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 11, 2003
CommitterUpdate anonymous-CVS instructions.
7481b7d1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 11, 2003
CommitterNow that I look, that link doesn't belong there at all, does it?
15e2cf7d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 11, 2003
CommitterFix busted markup.
67e307b8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 11, 2003
CommitterRemove platform-specific executable; does not belong in distribution.
bd48e09f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 11, 2003
Committerfreeaddrinfo2() does need two parameters after all, per comment by Kurt Roeckx. Add some documentation to try to prevent others from repeating my mistake.
cdfb3d99
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 09, 2003
CommitterMake bison version test actually work ...
2df532d9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 09, 2003
Committerlibpq can now talk to either 3.0 or 2.0 protocol servers. It first tries protocol 3, then falls back to 2 if postmaster rejects the startup packet with an old-format error message. A side benefit of the rewrite is that SSL-encrypted connections can now be made without blocking. (I think, anyway, but do not have a good way to test.)
6bdb7aa4
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 08, 2003
CommitterBackportedAdd defense in assign_session_authorization() against trying to do catalog lookups when not in a transaction. This prevents bizarre failures if someone tries to set a value for session_authorization in postgresql.conf. Per report from Fernando Nasser.
2bc84b68
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJun 06, 2003
CommitterImplement outer-level aggregates to conform to the SQL spec, with extensions to support our historical behavior. An aggregate belongs to the closest query level of any of the variables in its argument, or the current query level if there are no variables (e.g., COUNT(*)). The implementation involves adding an agglevelsup field to Aggref, and treating outer aggregates like outer variables at planning time.
e649796f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 06, 2003
CommitterMake the world at least marginally safe for usernames with embedded spaces. Per recent gripe.
53691902
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJun 02, 2003
CommittermarkTargetListOrigin neglected to handle outer-scope Vars properly; per report from Joe Conway.
d7e76d42
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 31, 2003
CommitterCause pg_dumpall to support the -a, -s, -x options of pg_dump.
9e1e72b6
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 30, 2003
CommitterCause pg_dumpall to include GRANT/REVOKE for database-level permissions in its output. Make it work with server versions back to 7.0, too.
df1df6bb
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 30, 2003
CommitterSmall performance improvement for hash joins and hash aggregation: when the plan is ReScanned, we don't have to rebuild the hash table if there is no parameter change for its child node. This idea has been used for a long time in Sort and Material nodes, but was not in the hash code till now.
d24d75ff
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 30, 2003
CommitterEnsure that in all flex lexers that are part of the backend, a yy_fatal_error() call results in elog(ERROR) not exit(). This was already fixed in the main lexer and plpgsql, but extend same technique to all the other dot-l files. Also, on review of the possible calls to yy_fatal_error(), it seems safe to use elog(ERROR) not elog(FATAL).
5666462f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 29, 2003
CommitterAdopt latest bison's spelling of 'syntax error' rather than 'parse error' for grammar-detected problems. Revert Makefile hack that kept it looking like the pre-bison-1.875 output.
9fbd5280
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 29, 2003
CommitterDon't explicitly close() the session socket during backend exit; instead leave it for the kernel to do after the process dies. This allows clients to wait for the backend to exit if they wish (after sending X message, wait till EOF is detected on the socket).
268313a9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 29, 2003
CommitterAFAICT, none of our shared libraries are anywhere near big enough to need -fPIC on HPPA. Reduce to -fpic.
9f47c4cc
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 29, 2003
CommitterAdd a regression test to catch future silliness in the index-building area...
d998fac9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 29, 2003
CommitterFix stupid oversight :-(
f3707d07
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 29, 2003
CommitterKnock down a couple more lappend() hotspots for large WHERE clauses.
7c7139cf
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 28, 2003
CommitterFix some planner performance problems with large WHERE clauses, by introducing new 'FastList' list-construction subroutines to use in hot spots. This avoids the O(N^2) behavior of repeated lappend's by keeping a tail pointer, while not changing behavior by reversing list order as the lcons() method would do.
8a6ac83d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 28, 2003
CommitterFix breakage of LINUX_PROFILE code due to recent Windows changes.
0f3c68aa
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 28, 2003
CommitterFix things so that an error occuring during standalone-backend processing in initdb will result in exit(1), allowing the initdb script to realize that there's something wrong.
4df52b28
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 28, 2003
CommitterIn bootstrap and standalone-backend modes, do not sort LOG elevel out of order; the 'server log' output is actually client output in these scenarios and we ought to treat elevels the same way as in the client case. This allows initdb to not send backend stderr to /dev/null anymore, which makes it much more likely that people will notice problems during initdb.
aae07819
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 28, 2003
CommitterReplace functional-index facility with expressional indexes. Any column of an index can now be a computed expression instead of a simple variable. Restrictions on expressions are the same as for predicates (only immutable functions, no sub-selects). This fixes problems recently introduced with inlining SQL functions, because the inlining transformation is applied to both expression trees so the planner can still match them up. Along the way, improve efficiency of handling index predicates (both predicates and index expressions are now cached by the relcache) and fix 7.3 oversight that didn't record dependencies of predicate expressions.
fc8d970c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 28, 2003
CommitterAdjust error-handling logic in libpq. For the first time, libpq copes sanely with running out of memory for a query result.
5493ecc3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 26, 2003
CommitterBackportedFix misstatement in release-notes item.
6923ea2b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 26, 2003
CommitterMake sure printtup() always sends the number of columns previously advertised in RowDescription message. Depending on the physical tuple's column count is not really correct, since according to heap_getattr() conventions the tuple may be short some columns, which will automatically get read as nulls. Problem has been latent since forever, but was only exposed by recent change to skip a projection step in SELECT * FROM...
8c43300c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 26, 2003
CommitterCause CHAR(n) to TEXT or VARCHAR conversion to automatically strip trailing blanks, in hopes of reducing the surprise factor for newbies. Remove redundant operators for VARCHAR (it depends wholly on TEXT operations now). Clean up resolution of ambiguous operators/functions to avoid surprising choices for domains: domains are treated as equivalent to their base types and binary-coercibility is no longer considered a preference item when choosing among multiple operators/functions. IsBinaryCoercible now correctly reflects the notion that you need *only* relabel the type to get from type A to type B: that is, a domain is binary-coercible to its base type, but not vice versa. Various marginal cleanup, including merging the essentially duplicate resolution code in parse_func.c and parse_oper.c. Improve opr_sanity regression test to understand about binary compatibility (using pg_cast), and fix a couple of small errors in the catalogs revealed thereby. Restructure "special operator" handling to fetch operators via index opclasses rather than hardwiring assumptions about names (cleans up the pattern_ops stuff a little).
f45df8c0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 26, 2003
CommitterImprove implementation of btrim/ltrim/rtrim: provide a special case for single-byte encodings, and a direct C implementation of the single-argument forms (where spaces are always what gets trimmed). This is in preparation for using rtrim1() as the bpchar-to-text cast operator, but is a useful performance improvement even if we decide not to do that.
11d5c820
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 23, 2003
CommitterSeems pl_funcs didn't have support for plpgsql PERFORM statement.
450d7e27
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 23, 2003
CommitterBackportedUpdate for 7.3.3.
e2bfe2dd
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 22, 2003
CommitterBrand 7.3.3.
9bc3438b
REL7_3_STABLE7.3.3
No linked threadMay 22, 2003
CommitterBackportedUpdate release history for impending 7.3.3 release.
d23f6f8b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 22, 2003
CommitterAdd defense against possibility that tzname[] doesn't exist.
cef0652a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 22, 2003
CommitterAdjust configure so that extern tzname[] will be checked for independently of whether the struct tm tm_zone member exists. Also run autoheader, which seems not to have been done lately; it added about three more things to pg_config.h.in than I was expecting...
c120f4ba
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 22, 2003
CommitterBackportedRepair sometimes-incorrect computation of StartUpID after a crash, per example from Rao Kumar. This is a very corner corner-case, requiring a minimum of three closely-spaced database crashes and an unlucky positioning of the second recovery's checkpoint record before you'd notice any problem. But the consequences are dire enough that it's a must-fix.
39e98d95
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 22, 2003
CommitterBack-patch Jan's fix to avoid primary key lookup (and lock) if foreign key does not change on UPDATE.
3284e342
REL7_3_STABLE7.3.3
No linked threadMay 21, 2003
CommitterFix coredump in pg_get_triggerdef, ensure function name is schema- qualified when necessary, simplify argument-printing code.
0b5b3e9e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 20, 2003
CommitterAdd error message style guidelines to the SGML documentation.
edcf9c23
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 19, 2003
CommitterBackportedUse -fPIC on Sparc, per Tom Callaway.
9ecba0c2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 19, 2003
CommitterBack-patch change to avoid O(N^2) behavior with lots of deferred triggers, by making deferredTriggerInvokeEvents only scan events added since it last ran.
529ec66d
REL7_3_STABLE7.3.3
No linked threadMay 19, 2003
CommitterBackportedRepair quoting sloppiness, lack of schema awareness in reindexdb.
bf45bff0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 19, 2003
CommitterAdd code to test for unknown timezone names (following some ideas from Ross Reedstrom, a couple months back) and to detect timezones that are using leap-second timekeeping. The unknown-zone-name test is pretty heuristic and ugly, but it seems better than the old behavior of just switching to GMT given a bad name. Also make DecodePosixTimezone() a tad more robust.
6d7ff848
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 18, 2003
CommitterFix breakage induced by recent patch (careless use of fmtId()).
6d8c774f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 17, 2003
CommitterBackportedFix failure when uniq-ifying an array of zero elements.
86f5fcfe
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 16, 2003
CommitterBack-patch fix to allow createuser to exit on control-C (Oliver Elphick)
bdec4179
REL7_3_STABLE7.3.3
No linked threadMay 16, 2003
CommitterBack-patch fix from Oliver Elphick to force ISO datestyle in dumps.
583736fa
REL7_3_STABLE7.3.3
No linked threadMay 16, 2003
CommitterBackportedSmall changes to use the absolute path to system catalogs.
f9b232f0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 16, 2003
CommitterBackportedCheck calling context for connectby_text(), per Joe Conway.
bcfeca58
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 16, 2003
CommitterRevert kerberos code breakage.
32be7207
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 16, 2003
CommitterRevert change of inclusion order for pg_config_os.h; this broke plperl on Linux and would have who knows what unpleasant effects on other platforms. If you need another include file for Windows, then add it; don't go messing with the semantics of every other port's include files.
5e04f385
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 15, 2003
CommitterAdd missing #include.
9e43184b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 15, 2003
CommitterFix oversight: ignore-till-SYNC state should not ignore EOF ...
2a2f6cfa
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 14, 2003
CommitterAdd text(cidr) cast, per recent discussion. I'm not bothering to force an initdb for this.
22c4caef
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 14, 2003
CommitterFix various recent build and regression-test problems in contrib/. Includes fixes from Joe Conway.
78b08584
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 14, 2003
CommitterBackend support for autocommit removed, per recent discussions. The only remnant of this failed experiment is that the server will take SET AUTOCOMMIT TO ON. Still TODO: provide some client-side autocommit logic in libpq.
f85f43df
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 14, 2003
CommitterIn RowDescription messages, report columns of domain datatypes as having the type OID and typmod of the underlying base type. Per discussions a few weeks ago with Andreas Pflug and others. Note that this behavioral change affects both old- and new-protocol clients.
d9b679c1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 13, 2003
CommitterMore binary I/O routines.
0249c242
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 13, 2003
CommitterChange pg_amop's index on (amopclaid,amopopr) to index (amopopr,amopclaid). This makes no difference for existing uses, but allows SelectSortFunction() and pred_test_simple_clause() to use indexscans instead of seqscans to locate entries for a particular operator in pg_amop. Better yet, they can use the SearchSysCacheList() API to cache the search results.
1c9ac7df
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 13, 2003
CommitterAdd binary I/O routines for a bunch more datatypes. Still a few to go, but that was enough tedium for one day. Along the way, move the few support routines for types xid and cid into a more logical place.
30f60948
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 12, 2003
CommitterAvoid unnecessary copying of parameter values in BIND. This allows efficient insertion of large bytea values through the BIND interface.
b0283271
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 12, 2003
CommitterApply fixes for problems with dropped columns whose types have also been dropped. Add regression test, too.
3ffaf204
REL7_3_STABLE7.3.3
No linked threadMay 12, 2003
CommitterApply fixes for problems with dropped columns whose types have also been dropped. The simplest fix for INSERT/UPDATE cases turns out to be for preptlist.c to insert NULLs of a known-good type (I used INT4) rather than making them match the deleted column's type. Since the representation of NULL is actually datatype-independent, this should work fine. I also re-reverted the patch to disable the use_physical_tlist optimization in the presence of dropped columns. It still doesn't look worth the trouble to be smarter, if there are no other bugs to fix. Added a regression test to catch future problems in this area.
d97c9b36
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 12, 2003
CommitterFinish removing HPUXMATHLIB.
a7c50cd9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 11, 2003
CommitterRevert previous change --- turns out the underlying problem affects more cases than I thought, so ExecTypeFromTL() will have to be fixed anyway.
6f261461
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 11, 2003
CommitterDisable the recently-added use_physical_tlist optimization in cases where the table contains dropped columns. If the columns are dropped, then their types may be gone as well, which causes ExecTypeFromTL() to fail if the dropped columns appear in a plan node's tlist. This could be worked around but I don't think the optimization is valuable enough to be worth the trouble.
8f2e53bc
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 11, 2003
CommitterMake use of new error context stack mechanism to allow random errors detected during buffer dump to be labeled with the buffer location. For example, if a page LSN is clobbered, we now produce something like ERROR: XLogFlush: request 2C000000/8468EC8 is not satisfied --- flushed only to 0/8468EF0 CONTEXT: writing block 0 of relation 428946/566240 whereas before there was no convenient way to find out which page had been trashed.
a4e775a2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 10, 2003
CommitterIn child-crashed log messages, identify a checkpoint process as such instead of calling it a 'server process'.
ecc8c365
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 10, 2003
CommitterBackportedAdjust CreateCheckpoint so that buffer dumping activities and cleanup of dead xlog segments are not considered part of a critical section. It is not necessary to force a database-wide panic if we get a failure in these operations. Per recent trouble reports.
8d86a960
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 10, 2003
CommitterImplement array_send/array_recv (binary I/O for arrays). This exposed the folly of not passing element type to typsend/typreceive, so fix that.
ba1e066e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 09, 2003
CommitterCOPY BINARY uses the new binary I/O routines. Update a few more datatypes so that COPY BINARY regression test passes.
b1ee615a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 09, 2003
CommitterNow that fastpath protocol allows null arguments to be passed, fastpath.c had better check for strict functions.
38d9919d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 09, 2003
CommitterImplement new-protocol binary I/O support in DataRow, Bind, and FunctionCall messages. Binary I/O is now up and working, but only for a small set of datatypes (integers, text, bytea).
0ac6298b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 09, 2003
CommitterBinary send/receive routines for a few basic datatypes --- enough for testing purposes.
5ecd4e3f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 09, 2003
CommitterReinstate pg_type's typsend and typreceive columns. They don't do much yet, but they're there. Also some editorial work on CREATE TYPE reference page.
45d04099
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 08, 2003
CommitterI think we're done with protocol instability, so mark server and libpq as speaking the one true 3.0 protocol.
075a0078
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 08, 2003
CommitterUpdate 3.0 protocol support to match recent agreements about how to handle multiple 'formats' for data I/O. Restructure CommandDest and DestReceiver stuff one more time (it's finally starting to look a bit clean though). Code now matches latest 3.0 protocol document as far as message formats go --- but there is no support for binary I/O yet.
c0a8c3ac
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 08, 2003
CommitterFix documentation problem pointed out by Barry Lind: code expected a terminating zero byte in StartupMessage, docs didn't mention it.
4e08d35e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 08, 2003
CommitterUpdate COPY BINARY file format spec to reflect recent decisions about external representation of binary data.
1718f4c6
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 07, 2003
CommitterRevise protocol doc for recently-agreed modifications. This is the first version of the 3.0 protocol that can be considered non-draft.
2de6da83
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 07, 2003
CommitterFix erroneous example, per Tim Knowles.
6165a278
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 07, 2003
CommitterMinor editorializing.
efa58e10
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 06, 2003
CommitterAdd display of eventual result RowDescription (if any) to the output of Describe on a prepared statement. This was in the original 3.0 protocol proposal, but I took it out for reasons that seemed good at the time. Put it back per yesterday's pghackers discussion.
755d1917
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 06, 2003
CommitterEnsure that an Execute operation can't send tuples in cases where Describe would claim that no tuples will be returned. Only affects SELECTs added to non-SELECT base queries by rewrite rules. If you want to see the output of such a select, you gotta use 'simple Query' protocol.
8f6a6b7e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 06, 2003
CommitterRestructure command destination handling so that we pass around DestReceiver pointers instead of just CommandDest values. The DestReceiver is made at the point where the destination is selected, rather than deep inside the executor. This cleans up the original kluge implementation of tstoreReceiver.c, and makes it easy to support retrieving results from utility statements inside portals. Thus, you can now do fun things like Bind and Execute a FETCH or EXPLAIN command, and it'll all work as expected (e.g., you can Describe the portal, or use Execute's count parameter to suspend the output partway through). Implementation involves stuffing the utility command's output into a Tuplestore, which would be kind of annoying for huge output sets, but should be quite acceptable for typical uses of utility commands.
79913910
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 06, 2003
CommitterImplement feature of new FE/BE protocol whereby RowDescription identifies the column by table OID and column number, if it's a simple column reference. Along the way, get rid of reskey/reskeyop fields in Resdoms. Turns out that representation was not convenient for either the planner or the executor; we can make the planner deliver exactly what the executor wants with no more effort. initdb forced due to change in stored rule representation.
2cf57c8f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 06, 2003
CommitterDitch ExecGetTupType() in favor of the much simpler ExecGetResultType(), which does the same thing. Perhaps at one time there was a reason to allow plan nodes to store their result types in different places, but AFAICT that's been unnecessary for a good while.
94a3c603
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 05, 2003
CommitterAlter plpgsql's lexer so that yylineno and yymore are not used. This avoids 'input buffer overflow' failure on long literals, improves performance, gives the right answer for line position in functions containing multiline literals, suppresses annoying compiler warnings, and generally is so much better I wonder why we didn't do it before.
20aea2ec
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 05, 2003
CommitterProvide a real link to CREATE SEQUENCE's reference page in nextval/setval discussion.
ea7896bf
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 05, 2003
CommitterNot sure why parser() was still doing clearerr(stdin) ... but it's *got* to be pointless.
e3ed942e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 05, 2003
CommitterExtended query protocol: parse, bind, execute, describe FE/BE messages. Only lightly tested as yet, since libpq doesn't know anything about 'em.
16503e6f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 05, 2003
CommitterBackportedAllow 60 in seconds fields of timestamp, time, interval input values. Per recent discussion on pgsql-general, this is appropriate for spec compliance, and has the nice side-effect of easing porting from old pg_dump files that exhibit the 59.999=>60.000 roundoff problem.
50ed78b8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 04, 2003
CommitterBackportedWhen a TIMESTAMP, TIME, or INTERVAL precision is specified larger than our implementation limits, do not issue an ERROR; instead issue a NOTICE and use the max supported value. Per pgsql-general discussion of 28-Apr, this is needed to allow easy porting from pre-7.3 releases where the limits were higher.
ac5fdea6
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 04, 2003
CommitterBackportedFix erroneous space calculation leading to core dump in dumpProcLangs, per report from Olivier Prenant. Also fix off-by-one space calculation in ReadToc; this woould not have hurt us until we had more than 100 dependencies for a single object, but wrong is wrong.
22869717
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMay 03, 2003
CommitterPortal and memory management infrastructure for extended query protocol. Both plannable queries and utility commands are now always executed within Portals, which have been revamped so that they can handle the load (they used to be good only for single SELECT queries). Restructure code to push command-completion-tag selection logic out of postgres.c, so that it won't have to be duplicated between simple and extended queries. initdb forced due to addition of a field to Query nodes.
de28dc9a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 02, 2003
CommitterRepair sloppiness about where cached mergeclause pathkeys are allocated. Without this fix, CVS tip dumps core when running the regression tests with geqo_threshold = 2. I would think that a similar patch might be needed in 7.3, but cannot duplicate the failure in that branch --- so for now, leave well enough alone.
1940434f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 02, 2003
CommitterDocumentation refers to box() function where it should say box_intersect(). Thanks to Wes Sheldah for finding this one.
cffded96
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMay 01, 2003
CommitterUpdate to describe new set of globally-known contexts planned for support of extended query features in new FE/BE protocol. TransactionCommandContext is gone (PortalContext replaces it for some purposes), and QueryContext has taken on a new meaning (MessageContext plays its old role).
0c57d69d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 30, 2003
CommitterInfrastructure for deducing Param types from context, in the same way that the types of untyped string-literal constants are deduced (ie, when coerce_type is applied to 'em, that's what the type must be). Remove the ancient hack of storing the input Param-types array as a global variable, and put the info into ParseState instead. This touches a lot of files because of adjustment of routine parameter lists, but it's really not a large patch. Note: PREPARE statement still insists on exact specification of parameter types, but that could easily be relaxed now, if we wanted to do so.
aa282d44
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 29, 2003
CommitterCode review for holdable-cursors patch. Fix error recovery, memory context sloppiness, some other things. Includes Neil's mopup patch of 22-Apr.
4a5f38c4
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 29, 2003
CommitterMinor wordsmithing on .pgpass description.
eea36f66
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 28, 2003
CommitterMinor improvement in wording.
05e7dd31
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 28, 2003
CommitterMissed some corner cases (PGSERVICE mostly)...
11def690
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 28, 2003
CommitterOkay, I've had it with PQsetdbLogin having slightly different defaults than PQconnectdb. Reimplement the former to use the same code as the latter. Fix documentation omissions while at it.
092133be
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 28, 2003
CommitterMake getaddrinfo's behavior with NULL node parameter agree with the Linux man page for it. This error was preventing CVS tip from accepting remote connections.
d08007ae
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 27, 2003
CommitterPrevent coredump in current_schemas() if someone has just deleted a schema that was in our search path.
1045655a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 27, 2003
CommitterFix plpgsql so that variables of composite types (rowtypes) can be declared without having to write %ROWTYPE. If the declared type of a variable is a composite type, it'll be taken to be a row variable automatically.
4089d251
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 27, 2003
CommitterPut back encoding-conversion step in processing of incoming queries; I had inadvertently omitted it while rearranging things to support length-counted incoming messages. Also, change the parser's API back to accepting a 'char *' query string instead of 'StringInfo', as the latter wasn't buying us anything except overhead. (I think when I put it in I had some notion of making the parser API 8-bit-clean, but seeing that flex depends on null-terminated input, that's not really ever gonna happen.)
982430f8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 27, 2003
CommitterDepartment of second thoughts: probably still need an IsTransactionState test in there...
351372e5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 27, 2003
CommitterClean up some problems in SetClientEncoding: failed to honor doit flag in all cases, leaked TopMemoryContext memory in others. Make the interaction between SetClientEncoding and InitializeClientEncoding cleaner and better documented. I suspect these changes should be back-patched into 7.3, but will wait on Tatsuo's verification.
5f15fa8d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 27, 2003
CommitterBackportedRepair permissions problem in RI triggers: query parsing has to be done as the correct user, not only query execution. Per report from Sean Chittenden.
3a496c8a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadApr 26, 2003
CommitterAdd transaction status field to ReadyForQuery messages, and make room for tableID/columnID in RowDescription. (The latter isn't really implemented yet though --- the backend always sends zeroes, and libpq just throws away the data.)
4db9689d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 26, 2003
CommitterCorrect oversight in createlang: test for pre-existing handler function was broken by opaque->language_handler change. I see this is already fixed in CVS tip, but must back-patch for 7.3.3.
cb1ad879
REL7_3_STABLE7.3.3
No linked threadApr 26, 2003
CommitterTweak stats collector start logic so that we will not try to spawn a new stats collector oftener than once a minute. Per gripe from Erik Walthinsen 4/25/03.
2b1e36c7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 26, 2003
CommitterBack-patch fixes for zero-column tables in COPY, pg_dump.
66e0ea47
REL7_3_STABLE7.3.3
No linked threadApr 25, 2003
CommitterBackportedMake [VACUUM] ANALYZE safe on zero-column tables.
9fdb1de3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadApr 25, 2003
CommitterIn the continuing saga of FE/BE protocol revisions, add reporting of initial values and runtime changes in selected parameters. This gets rid of the need for an initial 'select pg_client_encoding()' query in libpq, bringing us back to one message transmitted in each direction for a standard connection startup. To allow server version to be sent using the same GUC mechanism that handles other parameters, invent the concept of a never-settable GUC parameter: you can 'show server_version' but it's not settable by any GUC input source. Create 'lc_collate' and 'lc_ctype' never-settable parameters so that people can find out these settings without need for pg_controldata. (These side ideas were all discussed some time ago in pgsql-hackers, but not yet implemented.)
9cbaf721
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 25, 2003
Committerconst-ify info_cb() to match recent openssl releases. Per Joe Conway.
38316366
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 25, 2003
CommitterFix breakage induced by yours truly in Kerberos and PAM code.
f779a34c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 25, 2003
CommitterCOPY and pg_dump failed to cope with zero-column tables. Fix 'em.
6687650c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 25, 2003
CommitterAdjust subquery qual pushdown rules so that we can push down a qual into a UNION that has some type coercions applied to the component queries, so long as the qual itself does not reference any columns that have such coercions. Per example from Jonathan Bartlett 24-Apr-03.
5f677af2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 24, 2003
CommitterInfrastructure for upgraded error reporting mechanism. elog.c is rewritten and the protocol is changed, but most elog calls are still elog calls. Also, we need to contemplate mechanisms for controlling all this functionality --- eg, how much stuff should appear in the postmaster log? And what API should libpq expose for it?
f690920a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 24, 2003
CommitterFix misbehavior of func_error() on type names containing '%'. Will patch separately but equivalently in HEAD.
60bc45a1
REL7_3_STABLE7.3.3
No linked threadApr 23, 2003
CommitterFix misbehavior of replace() on strings containing '%'. Will patch separately but equivalently in HEAD.
f0946733
REL7_3_STABLE7.3.3
No linked threadApr 23, 2003
Committergetaddrinfo has no business doing unlink().
8a703496
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 22, 2003
CommitterAnother round of protocol changes. Backend-to-frontend messages now all have length words. COPY OUT reimplemented per new protocol: it doesn't need \. anymore, thank goodness. COPY BINARY to/from frontend works, at least as far as the backend is concerned --- libpq's PQgetline API is not up to snuff, and will have to be replaced with something that is null-safe. libpq uses message length words for performance improvement (no cycles wasted rescanning long messages), but not yet for error recovery.
5ed27e35
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 22, 2003
CommitterBackportedPrevent palloc(0) error when parent table has zero columns.
ca944bd2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadApr 21, 2003
Committerstddev() and variance() should return NULL when there is just one input value, per recent discussion on pgsql-general.
1dc3a62e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 21, 2003
CommitterApple's assembler likes the inlined TAS syntax too, so no reason to maintain a separate out-of-line version of PPC tas() anymore. Also fix S_UNLOCK for __powerpc64__ platforms.
f9ba0a7f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 20, 2003
CommitterFix multiple causes of breakage in plperl's error handling.
b5d0051e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 20, 2003
CommitterFix char-vs-pg_wchar confusion in p_ere(), per failure report from Tom O'Dowd. This fix is not relevant to CVS tip anymore, but we should fix it in 7.3.*.
9ccfbe25
REL7_3_STABLE7.3.3
No linked threadApr 20, 2003
CommitterAvoid O(N^2) behavior with lots of deferred triggers by making deferredTriggerInvokeEvents only scan events added since it last ran. Stephan Szabo, some corrections by Tom Lane.
b40bc9ea
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 20, 2003
CommitterAdd more documentation about shared memory costs.
3df163ad
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 19, 2003
CommitterSecond round of FE/BE protocol changes. Frontend->backend messages now have length counts, and COPY IN data is packetized into messages.
bd8d4417
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 19, 2003
CommitterFix breakage from recent variable-handling changes.
54b38d29
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 18, 2003
CommitterFirst phase of FE/BE protocol modifications: new StartupPacket layout with variable-width fields. No more truncation of long user names. Also, libpq can now send its environment-variable-driven SET commands as part of the startup packet, saving round trips to server.
cb7fb3ca
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 17, 2003
CommitterBackportedFix abstime-to-time cast function, which has had broken implementation since 7.2, per bug #947. Turns out it had wrong volatility label, too. Can't force initdb in 7.3 branch, but fix anyway for future installs.
31845dd3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadApr 17, 2003
CommitterVarious clarifications; add a clear DRAFT marker; minor adjustments in some message types. In particular add text/binary flag to StartCopyIn and StartCopyOut, so that client library can know what is expected or forthcoming.
26b237ff
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 16, 2003
CommitterFix some problems exposed by building outside the source tree.
1719fd55
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 16, 2003
CommitterBackportedFix stupid oversight ...
1426db5d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadApr 16, 2003
CommitterFirst draft of revised FE/BE protocol specification. Still needs work, but I'm putting it up so people can see and comment on it.
fe19e56c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 15, 2003
CommitterBackportedeqjoinsel's logic for case where MCV lists are not present should account for NULLs; in hindsight this is obvious since the code for the MCV-lists case would reduce to this when there are zero entries in both lists. Per example from Alec Mitchell.
5ab15591
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadApr 15, 2003
Committerpath.c needs to be included in libpq; per Joe Conway.
49c3cf5f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 14, 2003
CommitterAnother try at correctly explaining the difference between Postgres and SQL92 temp tables. Possibly I got it right this time.
3f4f235f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 14, 2003
CommitterReorganize clog's error reporting so that PANIC on clog I/O error can be reduced to a plain ERROR. Should make it at least a little less painful to deal with data-corruption problems.
0851e122
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 14, 2003
CommitterMinor copy-editing.
4af1769a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 14, 2003
CommitterClarify description of our deviation from standard for temp tables, per suggestion from Mike Sykes.
6d99dbb0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 14, 2003
CommitterBackportedSecond try at avoiding conflicts with system isblank().
3fd5faed
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+23 more
No linked threadApr 13, 2003
CommitterAdd code to provide useful dynamic-linking error messages on OS X.
ff5456fe
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 13, 2003
CommitterOn some systems <sys/types.h> must be included before <sys/socket.h>.
e1386302
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 12, 2003
CommitterBackportedGuard against macro versions of isblank().
ae02cf3c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+23 more
No linked threadApr 12, 2003
CommitterAdd #include <errno.h> per recent reports that it's now necessary on RHL 9. (Not clear why it didn't break long before, actually...)
680dc79f
REL7_2_STABLE7.2.5
No linked threadApr 11, 2003
CommitterBackportedFix error recovery for SSL_read/SSL_write calls.
5674460b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadApr 10, 2003
CommitterBackportedRemove premature attempt to constant-fold type coercion expressions. While usually safe, this fails if the coercion function needs the query snapshot to be set already. Per example from Nigel Andrews.
da2060e5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadApr 10, 2003
CommitterFirst phase of work on array improvements. ARRAY[x,y,z] constructor expressions, ARRAY(sub-SELECT) expressions, some array functions. Polymorphic functions using ANYARRAY/ANYELEMENT argument and return types. Some regression tests in place, documentation is lacking. Joe Conway, with some kibitzing from Tom Lane.
730840c9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 08, 2003
CommitterGet rid of inappropriate flags in CPPFLAGS override --- these break non-gcc compilers, and they would never belong in CPPFLAGS anyway.
6fb51158
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 08, 2003
CommitterMark TimeScales constants as double to avoid integer overflow in some compilers.
20f84809
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 08, 2003
CommitterRemove extraneous semicolons.
dbb75036
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 08, 2003
CommitterRemove unnecessary dt2local() call.
afe1185c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 07, 2003
CommitterClarify exactly when DST-changeover-induced regression test failures can be expected to occur.
8cd571b2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 06, 2003
CommitterFix some signed-vs-unsigned-int issues; make print_aligned_vertical safe for zero-column tables.
9c264975
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 04, 2003
CommitterTighten up register usage for inline PPC version of tas().
eb5e4c58
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 04, 2003
CommitterPut the isync where it's supposed to be.
cd35d601
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 04, 2003
CommitterAvoid repeated computation of the constants date2j(1970, 1, 1) and date2j(2000, 1, 1). Should make for some marginal speed improvement in date/time operations.
d685417f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 04, 2003
CommitterCode review for pg_stat_get_backend_activity_start patch --- fix return type, make protection condition agree with recent change to pg_stat_get_backend_activity, clean up documentation.
3b4ca4c0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 04, 2003
CommitterBack-patch changes to validate page header fields immediately after reading in any page. Also back-port the zero_damaged_pages boolean that determines what to do about it.
8fe728b0
REL7_3_STABLE7.3.3
No linked threadApr 04, 2003
CommitterRemove zero_damaged_pages from postgresql.conf.sample; the only way to find out about it is to read the documentation that tells you how dangerous it is. Add default_transaction_read_only to documentation; seems to have been overlooked in patch that added read-only transactions. Clean up check_guc comparison script, which has been suffering bit rot.
a385186f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 03, 2003
CommitterPrevent EXPLAIN (without ANALYZE) SELECT ... INTO from creating an INTO table. Needed due to recent change that makes us call ExecutorStart even when not planning to carry out the query.
f1fb9e00
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 03, 2003
CommitterDon't re-invent the strchr() wheel.
14e6823c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 03, 2003
CommitterFix load_user/load_group to not leave dangling pointers around if the config files are present on one pass and not present on a later pass.
61c9ea0f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 03, 2003
Committerconst-ify functions used with completion_matches(), to suppress cast-away-const warnings from compilers pickier than gcc.
c19354df
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 03, 2003
CommitterBackportedRepair incorrect checking of grouped/ungrouped variables in the presence of unnamed joins; per pghackers discussion 31-Mar-03.
906dce04
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadApr 03, 2003
CommitterBackportedFix buffer overrun in to_ascii(), per report from Guido Notari.
ec54a6ef
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+23 more
No linked threadApr 02, 2003
CommitterFix convSockAddr6to4(): eliminate bogus assumptions about byte ordering, remove useless SockAddr_ntop() call. Per report from Andreas Pflug.
794162bb
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 02, 2003
CommitterFix platform-dependent failure introduced by recent to_char changes (ye good olde uninitialized-local-variable).
d6f1aa97
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 02, 2003
CommitterThis is a derived file and should never have been added to CVS.
1d650da2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 02, 2003
CommitterWhack getaddrinfo() patch around until it works, more or less, on machines without IPv6. Or at least it works on HPUX 10.20 ...
1da6eb7f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 02, 2003
CommitterAdd missing semicolon.
f8a15f63
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadApr 01, 2003
CommitterBackportedTestConfiguration returns int, not bool. This mistake is relatively harmless on signed-char machines but would lead to core dump in the deadlock detection code if char is unsigned. Amazingly, this bug has been here since 7.1 and yet wasn't reported till now. Thanks to Robert Bruccoleri for providing the opportunity to track it down.
7cd30e15
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+23 more
No linked threadMar 31, 2003
CommitterFix broken markup.
80597fd9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 30, 2003
CommitterAdd code to apply some simple sanity checks to the header fields of a page when it's read in, per pghackers discussion around 17-Feb. Add a GUC variable zero_damaged_pages that causes the response to be a WARNING followed by zeroing the page, rather than the normal ERROR; this is per Hiroshi's suggestion that there needs to be a way to get at the data in the rest of the table.
fd422628
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 28, 2003
CommitterRegression output didn't get updated to match recent commit.
bb3c00ee
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 28, 2003
CommitterBackportedFix bogus coding of SET DEFAULT ri triggers ... or at least make it less bogus than it was. Per bug report from Adrian Pop.
1bd159e4
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 27, 2003
CommitterBackportedGetTupleForTrigger must use outer transaction's command counter for time qual checking, not GetCurrentCommandId. Per test case from Steve Wolfe.
bf576cc0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 27, 2003
Committerplpgsql can assign to subscripted variables now, e.g. x[42] := whatever; The facility is pretty primitive because it doesn't do array slicing and it has the same semantics as array update in SQL (array must already be non-null, etc). But it's a start.
2c199283
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 25, 2003
CommitterFactor out duplicate code for computing values of PLpgSQL_datum items. This is to help localize the changes needed for adding a new kind of PLpgSQL_datum (like, say, an array element...)
316c5cbf
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 25, 2003
CommitterIgnore SIGXFSZ (if platform has it), so that ulimit violations work like disk-full conditions instead of provoking a backend crash. Per suggestion from Frederic Surleau.
6ba159f9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 24, 2003
CommitterModify keys_are_unique optimization to release buffer pins before it returns NULL. This avoids out-of-buffers failures during many-way indexscans, as in Shraibman's complaint of 21-Mar.
fddc2d94
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 24, 2003
CommitterAdjust amrescan code so that it's allowed to call index_rescan with a NULL key pointer, indicating that the existing scan key should be reused. This behavior isn't used yet but will be needed for my planned fix to the keys_are_unique code.
04897830
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 23, 2003
CommitterBand-aid patch for Shraibman's 'out of free buffers' bug: disable the keys_are_unique optimization introduced in 7.3. A better fix will appear in 7.4, but I think back-patching it is too risky for the stable branch.
579adfd6
REL7_3_STABLE7.3.3
No linked threadMar 23, 2003
CommitterInstead of storing pg_statistic stavalues entries as text strings, store them as arrays of the internal datatype. This requires treating the stavalues columns as 'anyarray' rather than 'text[]', which is not 100% kosher but seems to work fine for the purposes we need for pg_statistic. Perhaps in the future 'anyarray' will be allowed more generally.
8d9e025e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 23, 2003
CommitterBackportedTweak selectivity and related routines to cope with domains. Per report from Andreas Pflug.
efeffae2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 23, 2003
CommitterDepartment of second thoughts: probably shouldn't use nth() to get the appropriate targetlist entry out of the subquery. Use an explicit search like we do everywhere else.
9323cb0a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 22, 2003
CommitterAdjust subquery qual pushdown rules to be more forgiving: if a qual refers to a non-DISTINCT output column of a DISTINCT ON subquery, or if it refers to a function-returning-set, we cannot push it down. But the old implementation refused to push down *any* quals if the subquery had any such 'dangerous' outputs. Now we just look at the output columns actually referenced by each qual expression. More code than before, but probably no slower since we don't make unnecessary checks.
05f916e6
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 22, 2003
CommitterFix compile warning.
e43094b1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 21, 2003
CommitterReimplement NUMERIC datatype using base-10000 arithmetic; also improve some of the algorithms for higher functions. I see about a factor of ten speedup on the 'numeric' regression test, but it's unlikely that that test is representative of real-world applications. initdb forced due to change of on-disk representation for NUMERIC.
d72f6c75
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 21, 2003
CommitterArrange to print the relevant key values when reporting a foreign-key violation. Also, factor out some duplicate code in the RI triggers. Patch by Dmitry Tkach, reviewed by Stephan Szabo and Tom Lane.
48dfa0d0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 15, 2003
CommitterBackportedpg_dumpall failed on groups having no members. Per report from Nick Eskelinen.
2a443063
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 14, 2003
CommitterBackportedRepair incorrect prorettype entry for timestamptz_izone. Can't force initdb in the 7.3 branch, but we can at least make it right for people who install 7.3.3 from scratch.
a6bf3409
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 14, 2003
CommitterMake eval_const_expressions simplify FieldSelect from a whole-row Var into an ordinary one-field Var. Per example from Chris Mungall.
7931bfa7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 14, 2003
CommitterBackportedPrevent infinite loop in ln_var() due to roundoff error. Per report from Dave Marin.
2a1ef30b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 14, 2003
CommitterBackportedGROUP BY got confused if there were multiple equal() GROUP BY items. This bug has been latent since 7.0 or maybe even further back, but it was only exposed when parse_clause.c stopped suppressing duplicate items (see its rev 1.96 of 18-Aug-02).
6c4996fa
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 13, 2003
CommitterAdd explicit tests for division by zero to all user-accessible integer division and modulo functions, to avoid problems on OS X (which fails to trap 0 divide at all) and Windows (which traps it in some bizarre nonstandard fashion). Standardize on 'division by zero' as the one true spelling of this error message. Add regression tests as suggested by Neil Conway.
31e69ccb
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 11, 2003
CommitterImplement SQL92-compatible FIRST, LAST, ABSOLUTE n, RELATIVE n options for FETCH and MOVE.
6261c750
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 11, 2003
CommitterThis patch fixes a bunch of spelling mistakes in comments throughout the PostgreSQL source code.
e4704001
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 10, 2003
CommitterRestructure parsetree representation of DECLARE CURSOR: now it's a utility statement (DeclareCursorStmt) with a SELECT query dangling from it, rather than a SELECT query with a few unusual fields in it. Add code to determine whether a planned query can safely be run backwards. If DECLARE CURSOR specifies SCROLL, ensure that the plan can be run backwards by adding a Materialize plan node if it can't. Without SCROLL, you get an error if you try to fetch backwards from a cursor that can't handle it. (There is still some discussion about what the exact behavior should be, but this is necessary infrastructure in any case.) Along the way, make EXPLAIN DECLARE CURSOR work.
aa83bc04
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 10, 2003
CommitterBackportedpg_restore failed to restore blobs if -X disable-triggers is specified.
b9e8ffcd
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 09, 2003
Committertuplestore_donestoring() isn't needed anymore, but provide a no-op macro definition so as not to create compatibility problems.
dd04e958
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 09, 2003
CommitterRevise tuplestore and nodeMaterial so that we don't have to read the entire contents of the subplan into the tuplestore before we can return any tuples. Instead, the tuplestore holds what we've already read, and we fetch additional rows from the subplan as needed. Random access to the previously-read rows works with the tuplestore, and doesn't affect the state of the partially-read subplan. This is a step towards fixing the problems with cursors over complex queries --- we don't want to stick in Materialize nodes if they'll prevent quick startup for a cursor.
aa60eecc
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 09, 2003
CommitterBackportedTweak dependency code to suppress NOTICEs generated by new method for cleaning out temp namespaces. We don't really want the server log to be cluttered with 'Drop cascades to table foo' every time someone uses a temp table...
f7cffbbb
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 06, 2003
CommitterBackportedAdd missing --globals-only (long form of -g).
0c693b49
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 06, 2003
CommitterUse poll(2) in preference to select(2), if available. This solves problems in applications that may have a large number of files open, such that libpq's socket number exceeds the range supported by fd_set. From Chris Brown.
1d573741
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 06, 2003
CommitterAdd code to dump contents of free space map into $PGDATA/global/pg_fsm.cache at database shutdown, and then load it again at database startup. This preserves our hard-won knowledge of free space across restarts (given an orderly shutdown, that is).
4b6c198a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 06, 2003
CommitterTurns out new IN implementation has got some problems in an UPDATE or DELETE with inherited target table. Fix it; add a regression test. Also, correct ancient misspelling of 'inherited'.
21591967
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 05, 2003
CommitterBackportedRepair bug reported by Laurent Perez: bad plan generated when UPDATE or DELETE of an inheritance tree references another inherited relation. This bug has been latent since 7.1; I'm still not quite sure why 7.1 and 7.2 don't manifest it (at least, they don't crash on a simple test case).
147fbf9c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 05, 2003
CommitterReimplement free-space-map management as per recent discussions. Adjustable threshold is gone in favor of keeping track of total requested page storage and doling out proportional fractions to each relation (with a minimum amount per relation, and some quantization of the results to avoid thrashing with small changes in page counts). Provide special- case code for indexes so as not to waste space storing useless page free space counts. Restructure internal data storage to be a flat array instead of list-of-chunks; this may cost a little more work in data copying when reorganizing, but allows binary search to be used during lookup_fsm_page_entry().
391eb5e5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 04, 2003
CommitterBackportedPrevent clustering on incomplete indexes: partial indexes are verboten, as are non-amindexnulls AMs unless first column is attnotnull.
a455c942
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 03, 2003
CommitterImprove description of geometric operators.
d28cd227
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 03, 2003
CommitterCorrect/edit comments for geometric operators. No change except to pg_description entries, so I did not force initdb.
b9ddb633
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 03, 2003
CommitterBe smart about outer-join qualifications that mention only one side of the join, per recent discussion on pgsql-sql. Not clear that this will come up often in real queries, but it's not any more expensive to do it right, so we may as well do it right.
30a695d3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadMar 02, 2003
CommitterBackportedRepair memory leak introduced by recent change to make SPI return a tupdesc even with zero tuples returned: some plpgsql routines assumed they didn't need to do SPI_freetuptable() after retrieving no tuples.
a1dbe521
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadMar 02, 2003
CommitterBackportedChange EXTRACT(EPOCH FROM timestamp) so that a timestamp without time zone is assumed to be in local time, not GMT. This improves consistency with other operations, which all assume local timezone when it matters. Per bug #897.
191ef2b4
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 27, 2003
CommitterRemove REWRITE_INVOKE_MAX in favor of making an accurate check for recursion in RewriteQuery(); also, detect recursion in fireRIRrules(), so as to catch self-referential views per example from Ryan VanderBijl. Minor code restructuring to make it easier to catch recursive case.
84666801
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 25, 2003
CommitterAvoid using a separate query to fetch the default expressions for columns. Improved version of patch by mallah@trade-india.com.
bf3e6753
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 24, 2003
CommitterDuring VACUUM FULL, truncate off any deletable pages that are at the end of a btree index. This isn't super-effective, since we won't move nondeletable pages, but it's better than nothing. Also, improve stats displayed during VACUUM VERBOSE.
0797bb5c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 24, 2003
CommitterRemove no-longer-used FixBTree GUC variable.
3981f219
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 23, 2003
Committerbtree page recycling can be done as soon as page's next-xact label is older than current Xmin; we don't have to wait till it's older than GlobalXmin.
61b22d3a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 23, 2003
CommitterAdjust btbulkdelete logic so that only one WAL record is issued while deleting multiple index entries on a single index page. This makes for a very substantial reduction in the amount of WAL traffic during a large delete operation.
3bbd6af3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 23, 2003
CommitterImprove coding of log_heap_clean() and heap_xlog_clean().
13dadef8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 23, 2003
CommitterFirst cut at recycling space in btree indexes. Still some rough edges to fix, but it seems to basically work...
88dc31e3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 23, 2003
CommitterBackportedIf a shutdown request comes in while we're still starting up, don't service it until after we execute SetThisStartUpID(). Else shutdown process will write the wrong SUI into the shutdown checkpoint, which seems likely to be trouble --- although I've not quite figured out how significant it really is.
27854915
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 23, 2003
CommitterSimplify timezone-handling code per proposal to pghackers: get rid of setting timezone-related variables during transaction start. They were not used anyway in platforms that HAVE_TM_ZONE or HAVE_INT_TIMEZONE, which it appears is *all* the platforms we are currently supporting. For platforms that have neither, we now only support UTC or numeric- offset-from-UTC timezones.
80d6a277
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 22, 2003
CommitterMore infrastructure for btree compaction project. Tree-traversal code now knows what to do upon hitting a dead page (in theory anyway, it's untested...). Add a post-VACUUM-cleanup entry point for index AMs, to provide a place for dead-page scavenging to happen. Also, fix oversight that broke btpo_prev links in temporary indexes. initdb forced due to additions in pg_am.
799bc58d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 22, 2003
CommitterRevert patch that broke \d commands, until it can be fixed.
4fff132d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 21, 2003
CommitterRepair nasty oversight in bt_split: if the index is temporary, we weren't updating the left-link from the split page's right sibling. This could result in backwards index scans missing some entries. Same bug exists in HEAD, will be patched later.
a78e12f9
REL7_3_STABLE7.3.3
No linked threadFeb 21, 2003
CommitterMake btree index structure adjustments and WAL logging changes needed to support btree compaction, as per proposal of a few days ago. btree index pages no longer store parent links, instead they have a level indicator (counting up from zero for leaf pages). The FixBTree recovery logic is removed, and replaced by code that detects missing parent-level insertions during WAL replay. Also, generate appropriate WAL entries when updating btree metapage and when building a btree index from scratch. I believe btree indexes are now completely WAL-legal for the first time. initdb forced due to index and WAL changes.
70508ba7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 21, 2003
CommitterBackportedFix timestamptz_in so that parsing of 'now'::timestamptz gives right answer when SET TIMEZONE has been done since the start of the current transaction. Per bug report from Robert Haas. I plan some futher cleanup in HEAD, but this is a low-risk patch for the immediate issue in 7.3.
4df0f1d2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 20, 2003
CommitterBackportedAsync_NotifyHandler must save and restore ImmediateInterruptOK. Fixes known problem with failure to respond to 'pg_ctl stop -m fast', and probable problems if SIGINT or SIGTERM arrives while processing a SIGUSR2 interrupt that arrived while waiting for a new client query.
f690acf1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+23 more
No linked threadFeb 18, 2003
CommitterBack off previous patch to skip projection step in scan plan nodes, in the case where the node immediately above the scan is a Hash, Sort, or Material node. In these cases it's better to do the projection so that we don't store unneeded columns in the hash/sort/materialize table. Per discussion a few days ago with Anagh Lal.
72933a92
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 16, 2003
CommitterCOALESCE() and NULLIF() are now first-class expressions, not macros that turn into CASE expressions. They evaluate their arguments at most once. Patch by Kris Jurka, review and (very light) editorializing by me.
51972a9d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 16, 2003
CommitterMarginal tweaks to make sure that roundoff error won't cause us to make a bad choice between sorted and hashed aggregation.
0d7abfe7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 15, 2003
CommitterTeach planner how to propagate pathkeys from sub-SELECTs in FROM up to the outer query. (The implementation is a bit klugy, but it would take nontrivial restructuring to make it nicer, which this is probably not worth.) This avoids unnecessary sort steps in examples like SELECT foo,count(*) FROM (SELECT ... ORDER BY foo,bar) sub GROUP BY foo which means there is now a reasonable technique for controlling the order of inputs to custom aggregates, even in the grouping case.
056467ec
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 15, 2003
CommitterBackportedFix SPI result logic for case where there are multiple statements of the same type in a rule. Per bug report from Pavel Hanak.
2dde90ad
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 14, 2003
CommitterFix some of the breakage from the IPV6 patch.
e8a10dc7
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 14, 2003
CommitterRemove bogus manipulation of SIGPIPE; the backend already runs with SIGPIPE disabled, and does not need to waste two syscalls per I/O on it.
874e8cef
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 14, 2003
CommitterBackportedRepair incorrect indexing for atttypmod, per Brad McLean.
8eac198d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 13, 2003
CommitterBackportedResult of lo_read() is int, not size_t. Per Oleg Drokin.
57892e74
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 13, 2003
CommitterBackportedParser was dropping foreign-key constraints on the floor if present in an ALTER TABLE ADD COLUMN command. Per bug #896.
c4ebf7b1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 13, 2003
CommitterBackportedRepair rule permissions-checking bug reported by Tim Burgess 10-Feb-02: the table(s) modified by the original query would get checked for the type of write permission needed by a rule query.
f4a72f77
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 13, 2003
CommitterArrange to give error when a SetOp member statement refers to a variable of the containing query (which really can only happen in a rule context). Per example from Brandon Craig Rhodes. Also, make the error message more specific for the similar case with sub-select in FROM. The revised coding should be easier to adapt to SQL99's LATERAL(), when we get around to supporting that.
18e8f06c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 13, 2003
CommittertransformExpr() was missing some cases it ought to allow; per report from Greg Stark. Also, twiddle the FuncCall case to not scribble on the input structure, which was the proximate cause of the problem. Someday we ought to fix things so that transformExpr() isn't called on already-transformed trees ...
5f5da0a6
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 13, 2003
CommitterSuppress gcc warning.
8d33f80f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 13, 2003
CommitterBackportedPrevent timetz2tm() from scribbling on its input in HAVE_INT64_TIMESTAMP case.
478c95a0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 13, 2003
CommitterBackportedUse a varno not chosen at random for dummy variables in the top-level targetlist of a set-operation tree. I'm not sure that this solution will really stand the test of time --- perhaps we need to make a special RTE for such vars to refer to. But this quick hack fixes Brandon Craig Rhodes' complaint of 10-Feb-02 about EXCEPT in CREATE RULE, while not changing any behavior in the better-tested cases where leftmostRTI is one anyway.
9069a5fc
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 11, 2003
CommitterFix thinko in new logic about pushing down non-nullability constraints: constraints appearing in outer-join qualification clauses are restricted as to when and where they can be pushed down. Add regression test to catch future errors in this area.
8a4fdce9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 10, 2003
CommitterAdd code to show join rule (for outer and IN joins) in join type name.
ec8f0e82
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 10, 2003
CommitterGet rid of last few vestiges of parsetree dependency on grammar token codes, per discussion from last March. parse.h should now be included *only* by gram.y, scan.l, keywords.c, parser.c. This prevents surprising misbehavior after seemingly-trivial grammar adjustments.
c5ba16a8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 10, 2003
CommitterDetect case where an outer join can be reduced to a plain inner join because there are WHERE clauses that will reject the null-extended rows. Per suggestion from Brandon Craig Rhodes, 19-Nov-02.
b5956a2f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 09, 2003
CommitterCreate a distinction between Lists of integers and Lists of OIDs, to get rid of the assumption that sizeof(Oid)==sizeof(int). This is one small step towards someday supporting 8-byte OIDs. For the moment, it doesn't do much except get rid of a lot of unsightly casts.
39b7ec33
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 09, 2003
CommitterRemove bogus comment (too freely copied & pasted).
3646ab58
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 09, 2003
CommitterMake further use of new bitmapset code: executor's chgParam, extParam, locParam lists can be converted to bitmapsets to speed updating. Also, replace 'locParam' with 'allParam', which contains all the paramIDs relevant to the node (i.e., the union of extParam and locParam); this saves a step during SetChangedParamList() without costing anything elsewhere.
145014f8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 09, 2003
CommitterReplace planner's representation of relation sets, per pghackers discussion. Instead of Lists of integers, we now store variable-length bitmap sets. This should be faster as well as less error-prone.
c15a4c2a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 08, 2003
CommitterBackportedRevise mechanism for getting rid of temp tables at backend shutdown. Instead of grovelling through pg_class to find them, make use of the handy dandy dependency mechanism: just delete everything that depends on our temp schema. Unlike the pg_class scan, the dependency mechanism is smart enough to delete things in an order that doesn't fall foul of any dependency restrictions. Fixes problem reported by David Heggie: a temp table with a serial column may cause a backend FATAL exit at shutdown time, if it chances to try to delete the temp sequence first.
3acf4223
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 07, 2003
CommitterAvoid generating relid lists with duplicate entries. Fixes bugs reported by Stefanos Harhalakis 2/2/2003.
c228ef15
REL7_3_STABLE7.3.3
No linked threadFeb 07, 2003
CommitterMake flatten_join_alias_vars() do the right thing when expanding an alias referenced from a subquery. Per example from Stefanos Harhalakis.
00f1a41a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 06, 2003
CommitterCreate a GUC variable REGEX_FLAVOR to control the type of regular expression accepted by the regex operators, per discussion yesterday.
77ede890
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 06, 2003
CommitterBackportedFix core dump when pltcl_elog is called with wrong number of parameters, per report from Ian Harding.
465ed565
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 06, 2003
CommitterBackportedAllow qualified type names in CREATE CAST, DROP CAST. Also allow the construction 'SETOF type[]' which for some reason was previously overlooked (you'd have to name the array type directly to make it work).
e24977f3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 05, 2003
CommitterReplace regular expression package with Henry Spencer's latest version (extracted from Tcl 8.4.1 release, as Henry still hasn't got round to making it a separate library). This solves a performance problem for multibyte, as well as upgrading our regexp support to match recent Tcl and nearly match recent Perl.
7bcc6d98
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 05, 2003
CommitterMinor code cleanup: remove no-longer-useful pull_subplans() function, and convert pull_agg_clause() into count_agg_clause(), which is a more efficient way of doing what it's really being used for.
2d1f9405
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 04, 2003
CommitterDetect duplicate aggregate calls and evaluate only one copy. This speeds up some useful real-world cases like SELECT x, COUNT(*) FROM t GROUP BY x HAVING COUNT(*) > 100.
85caf178
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 04, 2003
Committer#ifdef out stuff that shouldn't be compiled when not USE_SSL. Curious that gcc doesn't complain about unreferenced static variables.
ef5842b5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 03, 2003
CommitterDetermine the set of constraints applied to a domain at executor startup, not in the parser; this allows ALTER DOMAIN to work correctly with domain constraint operations stored in rules. Rod Taylor; code review by Tom Lane.
3752e85b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 03, 2003
CommitterTweak planner and executor to avoid doing ExecProject() in table scan nodes where it's not really necessary. In many cases where the scan node is not the topmost plan node (eg, joins, aggregation), it's possible to just return the table tuple directly instead of generating an intermediate projection tuple. In preliminary testing, this reduced the CPU time needed for 'SELECT COUNT(*) FROM foo' by about 10%.
4cff59d8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 03, 2003
CommitterImplement EXPLAIN EXECUTE. By Neil Conway, with some kibitzing from Tom Lane.
c7bceca1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadFeb 02, 2003
CommitterBrand 7.3.2.
0f36c544
REL7_3_STABLE7.3.2
No linked threadFeb 02, 2003
CommitterBackportedUpdate release history for 7.3.2.
6adb475f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 02, 2003
CommitterBackportedFix nodeUnique to behave correctly when reversing direction after reaching either end of subplan results. This prevents misbehavior of cursors on SELECT DISTINCT ... queries. Per bug report 1-Feb-02.
967e8a37
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 02, 2003
CommitterBackportedRemove restriction that cast functions cannot be volatile. This restriction was debatable to begin with, but it has now become obvious that it breaks forward-porting of user-defined types; contrib/lo being the most salient example.
6ba8af9d
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 01, 2003
CommitterBackportedCleaner solution to the problem of loading pre-7.3 dumps containing columns of type lo (see contrib/lo). Rather than hacking the function definitions on-the-fly, just modify the queries issued by FixupBlobRefs so that they work even if CREATE CAST hasn't been issued.
e0a1ee20
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 01, 2003
CommitterBackportedChanges of 6-Sep-02 broke pg_restore's ability to recognize tar-format files. Fix it.
330b4e42
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 01, 2003
CommitterBackportedFix assign_session_authorization() to not be confused by all-numeric user names. Per recent reports.
21166170
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 01, 2003
CommitterBackportedPrevent core dump from calling Tcl_DontCallWhenDeleted() with a null interp pointer. Per report from Gerhard Hintermayer.
361eaa18
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 01, 2003
CommitterBackportedApply ljb's patch to prevent both memory leak and core dump during connection shutdown. This is a grotty workaround for a Tcl bug, but said bug has been there long enough that I'm not holding my breath for a real fix. Per discussions and testing from ljb and g.hintermayer.
032235ca
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadFeb 01, 2003
CommitterBackportedMake plpython's spi_execute interface handle NULLs properly. From Andrew Bosma.
f51c7ca1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 31, 2003
CommitterBackportedClean up plpython error reporting so that its regression test passes with some amount of cleanliness. I see no need to report the internal Python name rather than the SQL procedure name in error tracebacks.
6f49703f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 31, 2003
CommitterBackportedTweak bison build rules so that we get the same error messages from bison 1.875 and later as we did from earlier bison releases. Eventually we will probably want to adopt the newer message spelling ... but not yet. Per recent discussion on pgpatches. Note: I didn't change the build rules for bootstrap, ecpg, or plpgsql grammars, since these do not affect regression test results.
9d007987
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 31, 2003
CommitterAllow a time zone to be specified (and silently ignored) in the input for type 'time without time zone', as we already did for type 'timestamp without time zone'. This patch was proposed by Tom Lockhart on 7-Nov-02, but he never got around to applying it. Adjust regression tests and documentation to match.
bd96dd11
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 31, 2003
CommitterBackportedHandle mixed-case names properly in plpgsql_parse_tripwordtype. From Neil Conway.
37b247a5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 31, 2003
CommitterFix typo, per Neil Conway.
0de771dd
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 31, 2003
CommitterBackportedFix regression in .pgpass support. From Neil Conway.
4ec457ad
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 30, 2003
CommitterBackportedUpdate release history for 7.2.4.
887edf4f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+23 more
No linked threadJan 29, 2003
CommitterBrand 7.2.4.
895491bc
REL7_2_STABLE7.2.4
No linked threadJan 29, 2003
CommitterBack-patch fix to avoid integer overflow in ExecHashJoinGetBatch(), which leads to core dump in large-enough hash joins.
dd103545
REL7_2_STABLE7.2.4
No linked threadJan 29, 2003
CommitterBackportedSPI_exec shouldn't return SPI_OK_SELECT if it hasn't actually returned a tuple table. Fixes core dump in pltcl (and probably other PLs) when executing a query rewritten by a rule. Per bug report from Wolfgang Walter.
26f56131
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 29, 2003
CommitterTweak ArrayCount() to forestall possible access to temp[-1]. Problem cannot actually happen at present because ArrayCount() is only called on strings beginning with '{', but seems best to prevent it going forward. Per report from Yichen Xie.
5fdb142f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 29, 2003
CommitterGuard against array overrun, per report from Yichen Xie. This case can only occur if the constant DEFAULT_CLIENT_AUTHSVC is given a bogus value, so it doesn't seem worth back-patching, but I'll fix it in HEAD.
3cb282f3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 29, 2003
CommitterBackportedRepair array subscript overrun identified by Yichen Xie. Reduce the value of MAX_TIME_PRECISION in floating-point-timestamp-storage case from 13 to 10, which is as much as time_out is actually willing to print. (The alternative of increasing the number of digits we are willing to print looks risky; we might find ourselves printing roundoff garbage.)
23b8a0ce
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 29, 2003
CommitterBackportedFix array subscript overruns identified by Yichen Xie.
b8add56e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 29, 2003
CommitterExtend join-selectivity API (oprjoin interface) so that join type is passed to join selectivity estimators. Make use of this in eqjoinsel to derive non-bogus selectivity for IN clauses. Further tweaking of cost estimation for IN. initdb forced because of pg_proc.h changes.
2e46b762
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 28, 2003
CommitterBackportedConvert variable name to canonical spelling before checking for matches in GUCArrayAdd/GUCArrayDelete. This prevents the multiple-entry bug exhibited by Frank Lupo 28-Jan-2003.
c0276244
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 28, 2003
CommitterUpgrade cost estimation for joins, per discussion with Bradley Baetz. Try to model the effect of rescanning input tuples in mergejoins; account for JOIN_IN short-circuiting where appropriate. Also, recognize that mergejoin and hashjoin clauses may now be more than single operator calls, so we have to charge appropriate execution costs.
70fba704
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 27, 2003
CommitterGet rid of last few unadorned 'permission denied' messages.
33875872
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 27, 2003
CommitterBackportedPrevent core dump when die_horribly() is called with null AH pointer. Problem reported and fixed by Oliver Elphick.
4b833d08
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 27, 2003
CommitterBack-patch fixes to detoast pg_group.grolist.
2357fd16
REL7_2_STABLE7.2.4
No linked threadJan 26, 2003
CommitterBack-patch fixes to ensure t_ctid always has correct value (prevents some instances of 'No one parent tuple' VACUUM error, and perhaps worse things).
12fa0775
REL7_2_STABLE7.2.4
No linked threadJan 26, 2003
CommitterBack-patch fix for alphabetization mistakes in datetime token tables.
3c877e57
REL7_2_STABLE7.2.4
No linked threadJan 26, 2003
CommitterAllow the planner to collapse explicit inner JOINs together, rather than necessarily following the JOIN syntax to develop the query plan. The old behavior is still available by setting GUC variable JOIN_COLLAPSE_LIMIT to 1. Also create a GUC variable FROM_COLLAPSE_LIMIT to control the similar decision about when to collapse sub-SELECT lists into their parent lists. (This behavior existed already, but the limit was always GEQO_THRESHOLD/2; now it's separately adjustable.)
9f5f2124
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 25, 2003
CommitterWhere available, use utime() or utimes() to update the file mod time of the socket file and socket lock file; this should prevent both of them from being removed by even the stupidest varieties of /tmp-cleaning script. Per suggestion from Giles Lean.
15ab7a87
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 25, 2003
CommitterUse stat(2) to probe for existing xlog segments in InstallXLogFileSegment, rather than actually opening the files. This eliminates some corner cases where the file indeed exists but open() fails for another reason, such as being out of file descriptors. The net reliability gain is probably tiny, since xlog.c is full of other file open calls that will elog(PANIC) if they fail for any reason; but this specific failure mode has been observed in the field, so we may as well fix it.
80727ce1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 25, 2003
CommitterSuppress gcc warnings.
7a196bab
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 24, 2003
CommitterBack-patch fix for not shell-quoting editor name, as it also fixes silly buffer overrun (someone needs to learn to count characters...)
a307ee1c
REL7_3_STABLE7.3.2
No linked threadJan 24, 2003
CommitterModify planner's implied-equality-deduction code so that when a set of known-equal expressions includes any constant expressions (including Params from outer queries), we actively suppress any 'var = var' clauses that are or could be deduced from the set, generating only the deducible 'var = const' clauses instead. The idea here is to push down the restrictions implied by the equality set to base relations whenever possible. Once we have applied the 'var = const' clauses, the 'var = var' clauses are redundant, and should be suppressed both to save work at execution and to avoid double-counting restrictivity.
f5e83662
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 24, 2003
CommitterBackportedFix obsolete error message (isImmutable doesn't exist).
36777c1e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 23, 2003
CommitterBackportedChange CREATE TABLE AS / SELECT INTO to create the new table with OIDs, for backwards compatibility with pre-7.3 behavior. Per discussion on pgsql-general and pgsql-hackers.
790d5bc9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 23, 2003
CommitterBackportedUpdate 'Mathematical Functions' table to reflect 7.3 addition of float8 forms of ceil(), floor(), sign(). Back-patch this and other recent doc fixes in this file to the 7.3 branch.
742403bd
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 23, 2003
CommitterFix sloppy comment.
b3d7af46
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 22, 2003
CommitterBackportedMake estimation of mergejoin scan selectivities more robust, per recent example from RaÇl GutiÅrrez.
c4d0ff32
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 22, 2003
CommitterImprove print_expr() a little. It's still not very bright though.
c7b40472
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 22, 2003
CommitterImplement choice between hash-based and sort-based grouping for doing DISTINCT processing on the output of an IN sub-select.
e2114817
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 22, 2003
CommitterBackportedFix coredump problem in plpgsql's RETURN NEXT. When a SELECT INTO that's selecting into a RECORD variable returns zero rows, make it assign an all-nulls row to the RECORD; this is consistent with what happens when the SELECT INTO target is not a RECORD. In support of this, tweak the SPI code so that a valid tuple descriptor is returned even when a SPI select returns no rows.
a4482f4c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 21, 2003
CommitterBack-patch typprtlen fix, two other minor post-7.3 fixes.
08b798e2
REL7_3_STABLE7.3.2
No linked threadJan 21, 2003
CommitterBack-patch fix to ensure pg_clog updates are not only written but sync'ed before we consider the checkpoint to be done.
adf852ba
REL7_2_STABLE7.2.4
No linked threadJan 21, 2003
CommitterAvoid gratuitous variation in spelling of same error message.
1a7c6ee8
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 21, 2003
CommitterBack-patch fixes for integer overflows in circle_poly(), path_encode(), and path_add() --- from Neil Conway. Also, repair recently-detected errors in lseg_eq(), lseg_ne(), lseg_center().
0c3cf792
REL7_2_STABLE7.2.4
No linked threadJan 21, 2003
CommitterBack-patch fix for VACUUM being confused by SELECT FOR UPDATE of tuple that was previously outdated by a transaction that later aborted. Also, prevent VACUUM from being called inside function.
474f1130
REL7_2_STABLE7.2.4
No linked threadJan 21, 2003
CommitterIN clauses appearing at top level of WHERE can now be handled as joins. There are two implementation techniques: the executor understands a new JOIN_IN jointype, which emits at most one matching row per left-hand row, or the result of the IN's sub-select can be fed through a DISTINCT filter and then joined as an ordinary relation. Along the way, some minor code cleanup in the optimizer; notably, break out most of the jointree-rearrangement preprocessing in planner.c and put it in a new file prep/prepjointree.c.
bdfbfde1
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 20, 2003
CommitterFix parse_agg.c to detect ungrouped Vars in sub-SELECTs; remove code that used to do it in planner. That was an ancient kluge that was never satisfactory; errors should be detected at parse time when possible. But at the time we didn't have the support mechanism (expression_tree_walker et al) to make it convenient to do in the parser.
b19adc1a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 17, 2003
CommitterAdjust API of expression_tree_mutator and query_tree_mutator to simplify callers. It turns out the common case is that the caller does want to recurse into sub-queries, so push support for that into these subroutines.
a4d82dd4
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 17, 2003
CommitterAdd code to print information about a detected deadlock cycle. The printed data is comparable to what you could read in the pg_locks view, were you fortunate enough to have been looking at it at the right time.
227a404c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 16, 2003
CommitterOoops, didn't cut-and-paste quite enough code from ResolveNew; with result that flatten_join_alias_vars failed to descend into subselects.
136828c6
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 16, 2003
CommitterBackportedFix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne.
57ce0f84
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 16, 2003
CommitterBackportedRepair an embarrassingly large number of alphabetization mistakes in the datetime token tables. Even more embarrassing, the regression tests revealed some of the problems --- but evidently the bogus output wasn't questioned. Add code to postmaster startup to directly check the tables for correct ordering, in hopes of not being embarrassed like this again.
cb23b841
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 16, 2003
CommitterNow that switch_outer processing no longer relies on being run after join_references(), it's practical to consolidate all join_references() processing into the set_plan_references traversal in setrefs.c. This seems considerably cleaner than the old way where we did it for join quals in createplan.c and for targetlists in setrefs.c.
cde9f852
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 15, 2003
CommitterAllow merge and hash joins to occur on arbitrary expressions (anything not containing a volatile function), rather than only on 'Var = Var' clauses as before. This makes it practical to do flatten_join_alias_vars at the start of planning, which in turn eliminates a bunch of klugery inside the planner to deal with alias vars. As a free side effect, we now detect implied equality of non-Var expressions; for example in SELECT ... WHERE a.x = b.y and b.y = 42 we will deduce a.x = 42 and use that as a restriction qual on a. Also, we can remove the restriction introduced 12/5/02 to prevent pullup of subqueries whose targetlists contain sublinks. Still TODO: make statistical estimation routines in selfuncs.c and costsize.c smarter about expressions that are more complex than plain Vars. The need for this is considerably greater now that we have to be able to estimate the suitability of merge and hash join techniques on such expressions.
de97072e
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 15, 2003
CommitterFix information_schema.sql install to work when building outside source tree.
1e9f85b9
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 13, 2003
CommitterReconsider mechanism for marking sub-selects that are at top level of a qualification clause (and hence can get away with being sloppy about distinguishing FALSE from UNKNOWN). We need to know this in subselect.c; marking the subplans in setrefs.c is too late.
56e1aab2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 13, 2003
CommitterCause planner to account for evaluation costs in targetlists and HAVING quals. Normally this is an insignificant effect --- but it will not be insignificant when these clauses contain sub-selects. The added costs cannot affect the planning of the query containing them, but they might have an impact when the query is a sub-query of a larger one.
8ac6d952
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 13, 2003
CommitterRecent changes in sublink representation require exprType() to accept SubPlan nodes, else explaining queries containing sublinks may fail.
d1686b42
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 13, 2003
CommitterRevise cost_qual_eval() to compute both startup (one-time) and per-tuple costs for expression evaluation, not only per-tuple cost as before. This extension is needed in order to deal realistically with hashed or materialized sub-selects.
d4ce5a4f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 12, 2003
CommitterFix wrong/misleading comments, be more consistent about where to call ExecAssignResultTypeFromTL().
d51260aa
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 12, 2003
CommitterFix some minor grammatical errors.
b05204ac
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 12, 2003
CommitterFirst cut at implementing IN (and NOT IN) via hashtables. There is more to be done yet, but this is a good start.
19b88633
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 12, 2003
CommitterBackportedCause symlinks for shared-library versioning to run in the standard direction on HP-UX; our former approach has been obsolete since HPUX 9.
43057c7a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 11, 2003
CommitterCreate a new file executor/execGrouping.c to centralize utility routines shared by nodeGroup, nodeAgg, and soon nodeSubplan.
1afac129
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 10, 2003
CommitterBackportedAdd missing <limits.h> for INT64_IS_BUSTED case.
c8370260
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 10, 2003
CommitterFurther tweaking of parsetree & plantree representation of SubLinks. Simplify SubLink by storing just a List of operator OIDs, instead of a list of incomplete OpExprs --- that was a bizarre and bulky choice, with no redeeming social value since we have to build new OpExprs anyway when forming the plan tree.
e69785de
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 10, 2003
CommitterAdjust parser so that 'x NOT IN (subselect)' is converted to 'NOT (x IN (subselect))', that is 'NOT (x = ANY (subselect))', rather than 'x <> ALL (subselect)' as we formerly did. This opens the door to optimizing NOT IN the same way as IN, whereas there's no hope of optimizing the expression using <>. Also, convert 'x <> ALL (subselect)' to the NOT(IN) style, so that the optimization will be available when processing rules dumped by older Postgres versions. initdb forced due to small change in SubLink node representation.
6bc61fc0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterAdd missing #include <getopt.h>.
59779c81
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterMove new typedef AclId into c.h, so as to avoid cluttering namespace by having to include miscadmin.h into other header files.
83b06823
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterCall timestamp_in with proper arguments, per gripe from Mark Halliwell.
2e98da52
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterBackportedRepair inconsistent rounding behavior for timestamp, time, interval, per gripe from Csaba Nagy. There is still potential for platform-specific behavior for values that are exactly halfway between integers, but at least we now get the expected answer for all other cases.
fb715e05
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 09, 2003
CommitterAdd missing pg_proc entry for interval_scale(). The lack of this entry causes interval rounding not to work as expected in 7.3, for example SELECT '18:17:15.6'::interval(0) does not round the value. I did not force initdb, but one is needed to install the added row.
1c25c52c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 09, 2003
CommitterGuard against stopping when numberTuples=0 and counter wraps around.
3bb248ac
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 08, 2003
CommitterReconsider old decision to try to constant-fold default and constraint expressions before they are stored. This seems like not such a hot idea, particularly now that the constant-folder will try to inline SQL functions.
2d140d35
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 08, 2003
CommitterBackportedRepair bug noticed by Deepak Bhole: a shell type should have a dependency on its namespace, so that it will go away if the schema is dropped.
51d2e3bd
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 08, 2003
CommitterBackportedFix for bug #866. 7.3 contains new logic for avoiding redundant calls to the index AM when we know we are fetching a unique row. However, this logic did not consider the possibility that it would be asked to fetch backwards. Also fix mark/restore to work correctly in this scenario.
cbca6c48
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 08, 2003
CommitterCode review for FETCH/MOVE 0 changes. Improve documentation, do the right thing with the destination when FETCH 0 can't return a row, don't try to stuff LONG_MAX into an int value.
061168d3
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 08, 2003
CommitterSendFunctionResult should take care to detoast varlena results.
1bc9e985
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterFix various places where global s/NOTICE/WARNING/ was applied with too much enthusiasm.
9f1f2bfb
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterUpdate for new we-always-have-getopt_long approach.
30a800a0
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterApply the proper version of Christopher Kings-Lynne's describe patch (ie, the one with describe-schema support). Minor code review. Adjust display of casts to use standard type names.
b4b62cff
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterTweak mdnblocks() to avoid doing lseek() on segments that it has previously determined not to be the last segment of a relation. This reduces the expected cost to one seek, rather than one seek per segment. We can get away with this because truncation of a relation will cause a relcache flush and so the md.c file descriptor will be closed; when it is re-opened we will re-determine the last segment.
973a210c
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 07, 2003
CommitterAdd note explaining that a mergejoinable equality operator is now required if a datatype is to be accepted by GROUP BY, DISTINCT, or ORDER BY. This is documentation for code changes made pursuant to pgsql-hackers discussion around 29-Nov-02.
d99e7b5a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 06, 2003
CommitterALTER DOMAIN OWNER, from Rod Taylor.
daec989f
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 06, 2003
CommitterBackportedFix inherited UPDATE for cases where child column numbering doesn't match parent table. This used to work, but was broken in 7.3 by rearrangement of code that handles targetlist sorting. Add a regression test to catch future breakage.
a60f9db5
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 05, 2003
CommitterAdd missing include --- seems include file references are different in CVS tip than in this branch.
f159bce0
REL7_3_STABLE7.3.2
No linked threadJan 05, 2003
CommitterPartial code review for ALTER DOMAIN patch. Incorporates Rod Taylor's patches of 9-Dec (permissions fix) and 13-Dec (performance) as well as a partial fix for locking issues: concurrent DROP COLUMN should not create trouble anymore. But concurrent DROP TABLE is still a risk, and there is no protection at all against creating a column of a domain while we are altering the domain.
17194f41
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 04, 2003
CommitterEnforces NOT NULL constraints to be applied against new PRIMARY KEY columns in DefineIndex. So, ALTER TABLE ... PRIMARY KEY will now automatically add the NOT NULL constraint. It appeared the alter_table regression test wanted this to occur, as after the change the regression test better matched in inline 'fails'/'succeeds' comments.
0a02d47a
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more
No linked threadJan 02, 2003
CommitterBackportedfastpath code neglected to check whether user has privileges to call the target function. Also, move SetQuerySnapshot() call to avoid assert failure when a fastpath call is attempted in an aborted transaction.
d6dbb6b2
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 01, 2003
CommitterBackportedAwhile back I wrote that freebsd.h was probably broken in the places where it diverged from netbsd.h and openbsd.h. This has now been confirmed. Accordingly, make all three exactly alike.
a26ac42b
master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+22 more
No linked threadJan 01, 2003