Commits in 2003
Commits901 commits
0Author
901Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Committer | Adjust 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 30, 2003 | |
| Committer | Recommend SHOW, instead of pg_controldata, for checking LC_COLLATE and LC_CTYPE settings of a database. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 30, 2003 | |
| Committer | Instead 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 30, 2003 | |
| CommitterBackported | Avoid 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 30, 2003 | |
| Committer | ShmemInitHash 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 30, 2003 | |
| Committer | Use 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 29, 2003 | |
| Committer | Using 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 29, 2003 | |
| Committer | Improve comment. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 29, 2003 | |
| Committer | Tweak 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 29, 2003 | |
| Committer | Clean 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 28, 2003 | |
| CommitterBackported | Fix sanity-check code that mistakenly assumed error and notice messages could never exceed 30K. Per report from Andreas Pflug. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 28, 2003 | |
| CommitterBackported | Avoid infinite loop if connection is lost during PQexecStart() or PQexecFinish(). Per report from Andreas Pflug. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 28, 2003 | |
| Committer | Improve 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 27, 2003 | |
| Committer | Remove incorrect remark about having to restart backend to load a new version of a shared library. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 27, 2003 | |
| Committer | Be a little more consistent about which terms are uppercased in index entries. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 26, 2003 | |
| Committer | Use inlined TAS() on PA-RISC, if we are compiling with gcc. Patch inspired by original submission from ViSolve. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 23, 2003 | |
| Committer | Fix 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 23, 2003 | |
| Committer | Fix compile warning. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 23, 2003 | |
| CommitterBackported | More bogosity in alter_table test: sometimes causes prepare test to fail by means of arbitrarily renaming tables the other test depends on. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 23, 2003 | |
| CommitterBackported | alter_table test sometimes failed in parallel mode, because of transient table name conflict against rangefuncs test. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 23, 2003 | |
| Committer | Push 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 23, 2003 | |
| Committer | Mop-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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 23, 2003 | |
| Committer | Allow plpgsql variables' default value expressions to reference existing variables (such as function parameters). Per gripe from David Fetter. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 23, 2003 | |
| Committer | Update HISTORY for 7.4.1 release. | REL7_4_STABLE7.4.1 | Dec 21, 2003 | |
| CommitterBackported | Fix broken markup, adjust 7.4.1 release date, re-sync HEAD with branch. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 21, 2003 | |
| Committer | Further cleanup in _bt_first: eliminate duplicate code paths. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 21, 2003 | |
| Committer | Previous change exposed some opportunities for further simplification in _bt_first(). | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 21, 2003 | |
| Committer | Improve 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 21, 2003 | |
| Committer | The 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 21, 2003 | |
| Committer | bufmgr.c failed to compile on Darwin, because it didn't include <sys/time.h> where struct timeval is defined. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 20, 2003 | |
| CommitterBackported | Dept. 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 20, 2003 | |
| CommitterBackported | Fix 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 20, 2003 | |
| CommitterBackported | Make to_hex() behave portably on negative input values (treat them as unsigned integers). Per report from Jim Crate. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 19, 2003 | |
| CommitterBackported | Fix memory leak with SSL connections due to missing X509_free() calls. Per Neil Conway. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 18, 2003 | |
| CommitterBackported | Use 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 18, 2003 | |
| CommitterBackported | Ensure 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 18, 2003 | |
| CommitterBackported | Adjust rules output for unknown-vs-any change (affects expected contents of pg_stats view definition). | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 18, 2003 | |
| Committer | Be 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 ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 18, 2003 | |
| CommitterBackported | information_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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 17, 2003 | |
| CommitterBackported | Fix DecodeInterval to handle '-0.1' sanely, per gripe from Tilo Schwarz. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 17, 2003 | |
| CommitterBackported | Repair badly broken estimation of output buffer size in lquery_out(). | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 17, 2003 | |
| CommitterBackported | Reorder 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 17, 2003 | |
| CommitterBackported | Repair 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 17, 2003 | |
| Committer | Fix thinko in comment. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 11, 2003 | |
| CommitterBackported | query_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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 09, 2003 | |
| CommitterBackported | Minor autovacuum fixes from Matthew O'Connor. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 08, 2003 | |
| CommitterBackported | Add fflush() before sleeping, per Matthew O'Connor. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 08, 2003 | |
| CommitterBackported | Whole-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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 08, 2003 | |
| Committer | Work around naming conflict between zlib and OpenSSL by tweaking inclusion order. Remove some unnecessary #includes (that duplicate c.h). | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 08, 2003 | |
| CommitterBackported | Replace unportable and overflow-prone use of 'long long' with safer 'double' arithmetic, per recent discussion. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 07, 2003 | |
| CommitterBackported | Remove 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 07, 2003 | |
| Committer | One 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 07, 2003 | |
| Committer | Speed up findObjectByCatalogId() to get rid of the other salient bottleneck in the new pg_dump code. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 07, 2003 | |
| Committer | Replace 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 06, 2003 | |
| Committer | Massive 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 06, 2003 | |
| CommitterBackported | Guard against bug in Solaris' bsearch(), per Michael Wildpaner. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 05, 2003 | |
| CommitterBackported | Planner 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 03, 2003 | |
| Committer | Brand 7.3.5. | REL7_3_STABLE7.3.5 | Dec 02, 2003 | |
| CommitterBackported | Update release notes for 7.3.5. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Dec 02, 2003 | |
| Committer | Code and docs review for numeric-factorial patch. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 02, 2003 | |
| Committer | Avoid 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). | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Dec 01, 2003 | |
| CommitterBackported | Minor wordsmithing in datetime docs to try to address gripes raised by cnliou. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 01, 2003 | |
| CommitterBackported | netmask() and hostmask() functions should return maximum-length masklen, per gripe from Joe Sunday. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 01, 2003 | |
| CommitterBackported | Fix typos noted by Halley Pacheco de Oliveira. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Dec 01, 2003 | |
| CommitterBackported | Force 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+22 more | Dec 01, 2003 | |
| Committer | Back-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. | REL7_3_STABLE7.3.5 | Nov 30, 2003 | |
| Committer | Back-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. | REL7_3_STABLE7.3.5 | Nov 30, 2003 | |
| Committer | Put 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 29, 2003 | |
| CommitterBackported | Second 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 26, 2003 | |
| CommitterBackported | Repair 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 25, 2003 | |
| Committer | Get 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 25, 2003 | |
| Committer | Band-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. | REL7_4_STABLE7.4.1 | Nov 25, 2003 | |
| Committer | Avoid using string literal with embedded newline. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 24, 2003 | |
| CommitterBackported | Overdue 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 24, 2003 | |
| CommitterBackported | Repair missed renamings of show_statement_stats and show_executor_stats. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 24, 2003 | |
| Committer | COMMENT 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 21, 2003 | |
| Committer | Remove unused variable. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 21, 2003 | |
| CommitterBackported | Fix 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 16, 2003 | |
| Committer | Sync HEAD with update committed only in 7.4 branch. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 16, 2003 | |
| CommitterBackported | Another try at fixing the Linux overcommit docs, per Andrew Dunstan. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 16, 2003 | |
| CommitterBackported | Update info about SysV configuration procedures on OS X 10.3. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 16, 2003 | |
| CommitterBackported | Some editorializing on the Linux memory overcommit docs, from Neil Conway. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 16, 2003 | |
| CommitterBackported | More release-notes copy editing, from Neil Conway. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 16, 2003 | |
| CommitterBackported | A little bit more copy-editing... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 15, 2003 | |
| CommitterBackported | Minor wording improvement suggested by a comment in the interactive docs. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 15, 2003 | |
| CommitterBackported | Make 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 15, 2003 | |
| CommitterBackported | Repair 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 14, 2003 | |
| Committer | Try to improve error handling for failures of backend subprocess. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 14, 2003 | |
| Committer | Add CHECK_FOR_INTERRUPTS() to bootstrap command loop, so that control-C can terminate the bootstrap run. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 14, 2003 | |
| Committer | Add fflush() before popen() calls; avoids any possible problem with double or out-of-sequence output with child process. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 14, 2003 | |
| Committer | Add 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...) | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 14, 2003 | |
| CommitterBackported | Fix 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 14, 2003 | |
| Committer | Preliminary 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 13, 2003 | |
| Committer | Dunno why this got committed with DOS newlines, but fix that, and add a header comment/copyright notice. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 13, 2003 | |
| Committer | Silly to copy sprompt.c from src/port when we're linking libpgport anyway. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 13, 2003 | |
| Committer | Add fflush() calls so that I'm-about-to-do-this messages actually come out before the action is done. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 13, 2003 | |
| Committer | Fix lack of optreset. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 13, 2003 | |
| CommitterBackported | AcceptResult() 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 12, 2003 | |
| Committer | Cross-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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 12, 2003 | |
| Committer | Fix 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. | REL7_4_STABLEunreleased | Nov 11, 2003 | |
| Committer | Add 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 09, 2003 | |
| CommitterBackported | Correct misspellings of REFERENCES. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 08, 2003 | |
| CommitterBackported | Restore compatibility with Tcl 8.0.* --- from ljb. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 08, 2003 | |
| CommitterBackported | Don't need hack copy of system() anymore in OS X 10.3. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 08, 2003 | |
| CommitterBackported | Fix process-status handling for OS X 10.3. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 08, 2003 | |
| CommitterBackported | Cause 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 07, 2003 | |
| CommitterBackported | zero_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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 07, 2003 | |
| CommitterBackported | Minor copy-editing. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 06, 2003 | |
| CommitterBackported | Fix for this problem: | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 05, 2003 | |
| CommitterBackported | Minor copy-editing. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 05, 2003 | |
| CommitterBackported | Some copy-editing for 7.4 release notes. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 04, 2003 | |
| CommitterBackported | Give the full syntax rules for subscripting and field selection in the proper place, namely the syntax discussion of value expressions. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 04, 2003 | |
| CommitterBackported | Copy-editing. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+21 more | Nov 04, 2003 | |
| Committer | Tag HEAD as 7.5devel. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+20 more | Nov 03, 2003 | |
| Committer | Adjust data types in some of the UNION tests to avoid potentially platform-dependent results, as per example from Larry Rosenman. | 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 | Nov 02, 2003 | |
| Committer | Provide 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. | 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 | Nov 02, 2003 | |
| Committer | Update future-tense comments in README to present tense. Noted by Neil Conway. | 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 | Oct 31, 2003 | |
| Committer | Rewrite GiST documentation into something actually useful. | 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 | Oct 31, 2003 | |
| Committer | Fix broken markup. | 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 | Oct 31, 2003 | |
| Committer | When 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. | 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 | Oct 31, 2003 | |
| Committer | Back-patch removal of unnecessary inclusion of <crypt.h>, so that 7.3.5 will build out-of-the-box on Solaris. | REL7_3_STABLE7.3.5 | Oct 31, 2003 | |
| Committer | Minor 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. | 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 | Oct 31, 2003 | |
| Committer | Small 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\_%'. | 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 | Oct 31, 2003 | |
| Committer | Use 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. | 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 | Oct 31, 2003 | |
| Committer | Further 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. | 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 | Oct 30, 2003 | |
| Committer | Allow the query for a plpgsql cursor to begin with '(' as well as 'SELECT'. Per example from Kumar, 30-Oct-03. | 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 | Oct 30, 2003 | |
| Committer | Fix 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.) | 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 | Oct 29, 2003 | |
| Committer | Give a useful error message if a RangeVar is encountered in an expression. Per example from Ian Barwick, 28-Oct-03. | 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 | Oct 29, 2003 | |
| Committer | compact_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. | 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 | Oct 29, 2003 | |
| Committer | Don'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. | 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 | Oct 28, 2003 | |
| Committer | Include -lkrb5 when needed for shlibs depending on libpq. Per report from Johan Henselmans. | 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 | Oct 28, 2003 | |
| CommitterBackported | Don'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. | 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 | Oct 28, 2003 | |
| Committer | Guard against Ant versions that print CLASSPATH before the version number in -version output. Per report from Johann Uhrmann. | 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 | Oct 28, 2003 | |
| Committer | Adjust wording to avoid giving the impression that schema USAGE privilege hides system catalog entries. | 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 | Oct 28, 2003 | |
| Committer | Un-break Darwin port. | 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 | Oct 27, 2003 | |
| Committer | Remove obsolete information about altering default optimization flags for gcc. Per comment from original author, Brian Gallew: "Ancient history. Kill it fast." | 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 | Oct 23, 2003 | |
| Committer | Move 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). | 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 | Oct 22, 2003 | |
| Committer | Add missing semicolon, per Johann Uhrmann. Avoids warnings from newer bisons. | 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 | Oct 22, 2003 | |
| Committer | Another example-to-documentation difference. Maybe we can find a better way to keep these in sync... | 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 | Oct 22, 2003 | |
| Committer | Ooops, missed updating this part of the complex-datatype example. | 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 | Oct 21, 2003 | |
| Committer | Update 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. | 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 | Oct 21, 2003 | |
| Committer | For some reason, the preface mentions just six of the seven major parts of the book. Fix it. | 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 | Oct 21, 2003 | |
| Committer | Fix built-in SQL-language functions to ensure that referenced names are properly schema-qualified. | 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 | Oct 21, 2003 | |
| Committer | Cope with platforms that offer LONGLONG_MIN in place of the C99-spec LLONG_MIN. One example is AIX, per report from Andreas. | 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 | Oct 21, 2003 | |
| Committer | Revert 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. | 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 | Oct 21, 2003 | |
| Committer | Fix findLastBuiltinOid_V70() to deliver correct result when running against a 7.0 server. | 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 | Oct 21, 2003 | |
| Committer | Complain if pg_restore is given both -d and -f options; this suggests the user is confused about whether -f is input or output file. | 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 | Oct 20, 2003 | |
| CommitterBackported | It 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. | 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 | Oct 20, 2003 | |
| Committer | Improve error reporting in parseTypeString(), motivated by confusing behavior reported by Martin Marques. | 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 | Oct 20, 2003 | |
| Committer | When 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. | 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 | Oct 20, 2003 | |
| Committer | Save_r, Save_t should be static not global variables. | 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 | Oct 19, 2003 | |
| Committer | Update README file to show 7.4 oidjoins relationships. The regression test was updated previously, but documentation is lagging. | 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 | Oct 19, 2003 | |
| Committer | Adjust 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 | 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 | Oct 19, 2003 | |
| Committer | Further 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. | 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 | Oct 18, 2003 | |
| Committer | Repair 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. | 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 | Oct 18, 2003 | |
| Committer | Simplify loop test to avoid bug in AIX compiler, per Andreas. | 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 | Oct 18, 2003 | |
| Committer | Must free the pgParameterStatus chain in freePGconn(). My fault, well spotted by Neil Conway. | 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 | Oct 18, 2003 | |
| Committer | Document 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. | 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 | Oct 17, 2003 | |
| Committer | Add a listing of our SQLSTATE error codes to the documentation. Link to it from some appropriate places. | 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 | Oct 17, 2003 | |
| Committer | Fix busted markup. | 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 | Oct 17, 2003 | |
| Committer | Fix elog tab-insertion code to insert tabs only where wanted. | 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 | Oct 17, 2003 | |
| Committer | Adjust 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. | 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 | Oct 17, 2003 | |
| Committer | Use 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. | 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 | Oct 17, 2003 | |
| Committer | Add note deprecating use of consrc. | 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 | Oct 17, 2003 | |
| Committer | Set 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. | 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 | Oct 16, 2003 | |
| Committer | Avoid division by zero in estimate_num_groups() when table has no rows. | 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 | Oct 16, 2003 | |
| Committer | Ensure 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.) | 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 | Oct 16, 2003 | |
| Committer | Cause 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. | 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 | Oct 16, 2003 | |
| Committer | Fix 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. | 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 | Oct 16, 2003 | |
| Committer | Minor copy-editing. | 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 | Oct 16, 2003 | |
| Committer | Cause 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. | 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 | Oct 15, 2003 | |
| Committer | Use 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). | 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 | Oct 14, 2003 | |
| Committer | pull_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 ... | 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 | Oct 13, 2003 | |
| Committer | Determine 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. | 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 | Oct 13, 2003 | |
| Committer | Adjust 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. | 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 | Oct 13, 2003 | |
| Committer | Fix 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. | 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 | Oct 06, 2003 | |
| Committer | During 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. | 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 | Oct 06, 2003 | |
| Committer | Modify 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. | 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 | Oct 06, 2003 | |
| Committer | Fix 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. | 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 | Oct 06, 2003 | |
| Committer | Add 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. | 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 | Oct 05, 2003 | |
| Committer | Document 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. | 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 | Oct 04, 2003 | |
| Committer | Fix 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. | 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 | Oct 04, 2003 | |
| Committer | Issue '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. | 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 | Oct 03, 2003 | |
| Committer | Add 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. | 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 | Oct 03, 2003 | |
| Committer | Cause 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. | 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 | Oct 03, 2003 | |
| Committer | Remove 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. | 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 | Oct 03, 2003 | |
| Committer | Add 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. | 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 | Oct 02, 2003 | |
| CommitterBackported | When 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. | 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 | Oct 02, 2003 | |
| Committer | Do 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. | 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 | Oct 02, 2003 | |
| Committer | Don't use 0 as a spelling of NULL. | 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 | Oct 02, 2003 | |
| Committer | Attached 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. | 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 | Oct 02, 2003 | |
| Committer | Add code to check that IF/WHILE/EXIT test expressions are boolean, and try to coerce the values to boolean if not. Per recent discussions. | 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 | Oct 01, 2003 | |
| Committer | Repair 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. | 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 | Oct 01, 2003 | |
| Committer | Adjust documentation examples to match recent error message rewordings. A couple other minor fixes. | 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 | Sep 30, 2003 | |
| Committer | Minor copy-editing. | 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 | Sep 30, 2003 | |
| Committer | Use slightly less broken markup. | 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 | Sep 30, 2003 | |
| Committer | heap_open => relation_open to avoid unwanted restriction on relkind. Per gripe from Gaetano Mendola. | 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 | Sep 30, 2003 | |
| Committer | Adjust 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. | 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 | Sep 29, 2003 | |
| Committer | Improve context display for failures during COPY IN, as recently discussed on pghackers. | 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 | Sep 29, 2003 | |
| Committer | Fix broken definition of :print: character class, per Bruno Wolff. Also, make :alnum: character class directly dependent on isalnum() rather than guessing. | 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 | Sep 29, 2003 | |
| Committer | Restructure 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. | 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 | Sep 28, 2003 | |
| Committer | Add 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. | 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 | Sep 28, 2003 | |
| Committer | Now 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. | 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 | Sep 28, 2003 | |
| Committer | Remove erroneous restriction that -t cannot be used to select a sequence for dumping. | 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 | Sep 27, 2003 | |
| Committer | Got the link order wrong :-( | 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 | Sep 27, 2003 | |
| Committer | Adjust 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.) | 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 | Sep 27, 2003 | |
| Committer | Fix typo in message. | 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 | Sep 27, 2003 | |
| Committer | Move -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. | 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 | Sep 26, 2003 | |
| Committer | Fix 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. | 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 | Sep 26, 2003 | |
| Committer | Make the world safe (more or less) for dropped columns in plpgsql rowtypes. | 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 | Sep 25, 2003 | |
| Committer | tlist_matches_tupdesc() needs to defend itself against dropped columns. | 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 | Sep 25, 2003 | |
| Committer | Get 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. | 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 | Sep 25, 2003 | |
| Committer | Fix regression error messages for platforms Peter doesn't use. | 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 | Sep 25, 2003 | |
| Committer | Fix grammatical error introduced into error message. | 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 | Sep 25, 2003 | |
| Committer | Repair 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. | 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 | Sep 24, 2003 | |
| Committer | Add positive defense against dropped columns, per suggestion from Christopher Kings-Lynne. Also fix a couple more schema-awareness issues. | 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 | Sep 24, 2003 | |
| Committer | Issue 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. | 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 | Sep 23, 2003 | |
| Committer | pg_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. | 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 | Sep 23, 2003 | |
| Committer | Minor copy-editing for plpgsql chapter. | 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 | Sep 23, 2003 | |
| Committer | Tweak 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). | 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 | Sep 23, 2003 | |
| CommitterBackported | _SPI_cursor_operation forgot to check for failure return from _SPI_begin_call. Per gripe from Tomasz Myrta. | 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 | Sep 23, 2003 | |
| Committer | HeapTupleSatisfiesVacuum() 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. | 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 | Sep 22, 2003 | |
| Committer | Arrange 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. | 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 | Sep 21, 2003 | |
| Committer | Fix some ill-considered ifdefs, per report from Hans-JÏrgen SchÎnig. | 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 | Sep 21, 2003 | |
| Committer | Apply 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. | 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 | Sep 20, 2003 | |
| Committer | Attaching -lpq to LDFLAGS doesn't work, because the generated command puts that before the .c file name. | 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 | Sep 20, 2003 | |
| Committer | Fix a batch of speling misteaks identified by Peter's spell-checker tool. | 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 | Sep 20, 2003 | |
| Committer | pg_dump missed comments attached to primary key or unique constraints (as distinct from their underlying indexes). Per bug report from Hiroshi Saito. | 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 | Sep 19, 2003 | |
| Committer | Document that TRUNCATE ignores user-defined ON DELETE triggers. | 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 | Sep 19, 2003 | |
| Committer | Disallow 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. | 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 | Sep 19, 2003 | |
| Committer | Latest 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. | 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 | Sep 19, 2003 | |
| Committer | Seems 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. | 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 | Sep 19, 2003 | |
| Committer | Put a tad more detail in the discussion of postmaster and postgres signal handling. | 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 | Sep 18, 2003 | |
| Committer | Back-patch fix for plpython problems with dropped table columns; per bug report from Arthur Ward, who also tested this patch. | REL7_3_STABLE7.3.5 | Sep 17, 2003 | |
| Committer | Disallow 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. | 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 | Sep 17, 2003 | |
| Committer | Make psql correctly track the effects of SET CLIENT_ENCODING commands. I thought I'd fixed this earlier, but I didn't get it right ... | 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 | Sep 16, 2003 | |
| Committer | I 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. | 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 | Sep 16, 2003 | |
| Committer | Fix some problems with dropped columns in plpython trigger functions. | 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 | Sep 16, 2003 | |
| Committer | Since SPI_modifytuple's natts argument is the number of attributes to be changed, it should allow a zero value (implying no changes to make). | 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 | Sep 16, 2003 | |
| Committer | Fix 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?) | 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 | Sep 15, 2003 | |
| Committer | Update regression test for message change. | 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 | Sep 15, 2003 | |
| Committer | Improve a couple of error messages per suggestions from Alvaro Herrera. | 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 | Sep 15, 2003 | |
| Committer | Okay, who left off the id= here? | 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 | Sep 15, 2003 | |
| Committer | LISTEN doesn't issue a warning for redundant listens anymore. Also, add some 'See Also' links. | 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 | Sep 15, 2003 | |
| Committer | Add missing support for Opteron (__x86_64__). | 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 | Sep 14, 2003 | |
| Committer | Persuade 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. | 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 | Sep 14, 2003 | |
| Committer | Make 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. | 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 | Sep 14, 2003 | |
| Committer | Fix 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. | 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 | Sep 14, 2003 | |
| Committer | expected results for dblink test seem to be out of date ... | 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 | Sep 14, 2003 | |
| Committer | Make 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. | 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 | Sep 14, 2003 | |
| Committer | Make 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. | 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 | Sep 14, 2003 | |
| Committer | Reconsider placement of MemoryContextCheck() call --- do after commit, not before, to avoid duplication of effort. | 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 | Sep 14, 2003 | |
| Committer | Avoid 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. | 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 | Sep 13, 2003 | |
| Committer | With 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. | 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 | Sep 13, 2003 | |
| Committer | Okay, 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. | 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 | Sep 13, 2003 | |
| Committer | Minor wording improvements. | 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 | Sep 13, 2003 | |
| Committer | Marginal hacks to make tables format more nicely. | 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 | Sep 13, 2003 | |
| Committer | Mop-up for error-message updates in documentation. | 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 | Sep 12, 2003 | |
| Committer | Update obsolete examples of error messages; various other minor editing. | 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 | Sep 12, 2003 | |
| Committer | Revert 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. | 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 | Sep 12, 2003 | |
| Committer | Someone (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. | 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 | Sep 12, 2003 | |
| Committer | Fix incorrect pfree in to_tsquery_name(), per Nigel Andrews. | 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 | Sep 12, 2003 | |
| Committer | More cleanup of Diagnostics sections. | 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 | Sep 12, 2003 | |
| Committer | Small typo. | 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 | Sep 11, 2003 | |
| Committer | Message in the other exit from acquire_sample_rows(), as per update from Mark Kirkwood. Also show the sample size. | 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 | Sep 11, 2003 | |
| Committer | Try to make recently-added analyze log message look something like the others in style. | 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 | Sep 11, 2003 | |
| Committer | Fix missed message update, per Alvaro Herrera. | 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 | Sep 11, 2003 | |
| Committer | Improve error message for cp or rm failur during create/drop database, per recent discussions. | 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 | Sep 10, 2003 | |
| Committer | copydir() is supposed to return on failure, not elog(ERROR). Reduce ERROR to WARNING so we keep control. | 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 | Sep 10, 2003 | |
| Committer | Remove a bunch of content-free Diagnostics sections, as per previous discussion. (Still have some work to do editing the remainder.) | 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 | Sep 09, 2003 | |
| Committer | Update comments about how locale settings are handled. | 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 | Sep 09, 2003 | |
| Committer | Fix a couple minor typos. | 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 | Sep 08, 2003 | |
| Committer | "statenebt" ? | 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 | Sep 08, 2003 | |
| Committer | Document a bunch of formerly-undocumented date/time operators, including the SQL-spec OVERLAPS construct. | 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 | Sep 08, 2003 | |
| Committer | Avoid using s_addr as a local variable name, to work around broken system headers on Unixware. | 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 | Sep 08, 2003 | |
| Committer | Remove another useless, counterproductive srandom() call. | 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 | Sep 07, 2003 | |
| Committer | Remove 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. | 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 | Sep 07, 2003 | |
| Committer | Remove 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. | 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 | Sep 07, 2003 | |
| Committer | Make the default pg_hba.conf include an entry for ::1 only if configure set HAVE_IPV6. Per recent discussions. | 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 | Sep 07, 2003 | |
| Committer | load_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. | 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 | Sep 07, 2003 | |
| Committer | Second try at IPv4-to-v6 mapping code; avoid assuming that the struct returned by getaddrinfo_all will have enough room for an IPv6 address. | 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 | Sep 05, 2003 | |
| Committer | Allow IPv4-format entries in pg_hba.conf to match IPv6 connections that have IPv4-embedded-in-IPv6 addresses. Per idea of Andreas Pflug. | 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 | Sep 05, 2003 | |
| Committer | Add missing space. | 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 | Sep 05, 2003 | |
| Committer | Reimplement 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. | 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 | Sep 04, 2003 | |
| Committer | Avoid consuming unreasonable amounts of memory when GRANT has many grantees. | 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 | Sep 04, 2003 | |
| Committer | Looks like plperl has same bug as pltcl. | 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 | Sep 04, 2003 | |
| Committer | Fix some problems with dropped columns in pltcl functions. | 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 | Sep 04, 2003 | |
| Committer | Back-patch the other part of Karel's formatting bug fix. | REL7_3_STABLE7.3.5 | Sep 03, 2003 | |
| Committer | Work around ENOTEMPTY being an alias for EEXIST on some platforms. | 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 | Sep 03, 2003 | |
| CommitterBackported | Repair problems with to_char() overrunning its input string. From Karel Zak. | 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 | Sep 03, 2003 | |
| Committer | In _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. | 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 | Sep 02, 2003 | |
| Committer | Cause 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...) | 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 | Sep 02, 2003 | |
| Committer | Several 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. | 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 | Sep 02, 2003 | |
| Committer | Fix a couple typos, add some more comments. | 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 | Sep 02, 2003 | |
| Committer | Rewrite 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. | 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 | Sep 02, 2003 | |
| Committer | Preliminary 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. | 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 | Sep 01, 2003 | |
| Committer | Add 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. | 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 | Sep 01, 2003 | |
| Committer | Make documentation of pg_restore's -N, -o, -r switches bear some slight resemblance to their actual behavior. | 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 | Aug 28, 2003 | |
| Committer | pg_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. | 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 | Aug 28, 2003 | |
| Committer | Ensure that FK constraints are dumped after primary/unique constraints, rather than relying on OID order of pg_constraint entries. Per gripe from Greg Stark. | 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 | Aug 28, 2003 | |
| Committer | Fix stupid typo (mine I suppose) in CopyGetData. Per report from Dave Cramer. | 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 | Aug 28, 2003 | |
| Committer | Adjust 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. | 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 | Aug 27, 2003 | |
| Committer | Department of second thoughts: can't reorder merge-join clauses. | 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 | Aug 27, 2003 | |
| Committer | Push subplan clauses to the back in qual lists for join plans, not only scan plans. Per observation from Rod Taylor. | 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 | Aug 26, 2003 | |
| Committer | Use 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. | 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 | Aug 26, 2003 | |
| Committer | Mop-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. | 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 | Aug 26, 2003 | |
| Committer | Add 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. | 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 | Aug 25, 2003 | |
| Committer | Allow 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. | 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 | Aug 25, 2003 | |
| Committer | Refactor 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. | 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 | Aug 25, 2003 | |
| Committer | Sigh, I'm an idiot ... SSL_ERROR_WANT_READ isn't an error condition at all, it just means 'no data available yet'. | REL7_3_STABLE7.3.5 | Aug 22, 2003 | |
| Committer | Tweak 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. | 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 | Aug 22, 2003 | |
| Committer | Tweak 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. | 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 | Aug 22, 2003 | |
| Committer | Updates for array documentation, from Joe Conway. | 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 | Aug 19, 2003 | |
| Committer | Improve 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. | 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 | Aug 19, 2003 | |
| Committer | When 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. | 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 | Aug 18, 2003 | |
| Committer | Fix 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. | 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 | Aug 17, 2003 | |
| Committer | Clean 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. | 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 | Aug 17, 2003 | |
| Committer | Somebody forgot to include any actual documentation for ADD_MISSING_FROM. | 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 | Aug 17, 2003 | |
| Committer | Update 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. | 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 | Aug 17, 2003 | |
| Committer | Fix broken markup. | 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 | Aug 17, 2003 | |
| Committer | Create 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. | 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 | Aug 17, 2003 | |
| Committer | Rewrite 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. | 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 | Aug 15, 2003 | |
| Committer | Minor copy-editing. | 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 | Aug 14, 2003 | |
| Committer | Fix longstanding thinko in SSL protocol documentation: the server's initial response is 'S', not 'Y', when it is willing to do SSL. | 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 | Aug 14, 2003 | |
| Committer | Add missing quotes. | 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 | Aug 14, 2003 | |
| Committer | Someone moved PageOutput here from common.c, but forgot to move all the #includes it depends on. | 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 | Aug 14, 2003 | |
| Committer | Remove unnecessary #include's (see c.h). | 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 | Aug 14, 2003 | |
| Committer | Workaround for platforms that have getaddrinfo() without AI_NUMERICHOST. We don't actually need the flag, so just #define it as zero in such cases. | 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 | Aug 14, 2003 | |
| Committer | Handle double-quotes correctly in user names in ACL lists. | 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 | Aug 14, 2003 | |
| Committer | libpq 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. | 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 | Aug 13, 2003 | |
| Committer | Add 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. | 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 | Aug 13, 2003 | |
| Committer | Move 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. | 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 | Aug 13, 2003 | |
| Committer | Include '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. | 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 | Aug 12, 2003 | |
| Committer | Cope with NoData message from backend. Needed for case where PQexecParams is used with a statement that doesn't return data. | 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 | Aug 12, 2003 | |
| Committer | Marginal 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. | 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 | Aug 12, 2003 | |
| Committer | Change 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.) | 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 | Aug 12, 2003 | |
| Committer | Avoid unnecessary work when stats collection is disabled. Tighten search loop in pgstat_initstats. Per report from Gavin Sherry. | 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 | Aug 12, 2003 | |
| Committer | Rewriter 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. | 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 | Aug 11, 2003 | |
| Committer | Code 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(). | 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 | Aug 11, 2003 | |
| Committer | Do not link in libwsock32 on non-win32 platforms. Improve grammar of thread-safety comments. | 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 | Aug 11, 2003 | |
| Committer | Repair 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. | 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 | Aug 10, 2003 | |
| Committer | Make various links point to specific places instead of entire parts (doubtless these are hangovers from the old separate-books days). | 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 | Aug 10, 2003 | |
| Committer | Request verbose error message output in bug reports. | 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 | Aug 10, 2003 | |
| Committer | Update docs for 7.4 array features and polymorphic functions. This is Joe Conway's patch of 7-Aug plus further editorializing of my own. | 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 | Aug 09, 2003 | |
| Committer | Avoid malloc(0). Although standard mallocs seem not to object, some debugging malloc packages do. | 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 | Aug 08, 2003 | |
| Committer | Fix nasty little order-of-operations bug in _SPI_cursor_operation. Per report from Mendola Gaetano. | 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 | Aug 08, 2003 | |
| Committer | Suppress unused-variable warnings when building without Asserts. | 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 | Aug 08, 2003 | |
| CommitterBackported | Conversion functions must be STRICT to prevent them from getting null inputs. | 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 | Aug 08, 2003 | |
| Committer | Fix 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. | 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 | Aug 08, 2003 | |
| Committer | Fix typo. | 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 | Aug 07, 2003 | |
| Committer | Don'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. | 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 | Aug 07, 2003 | |
| Committer | SCO_ACCEPT_BUG code didn't get updated for new SockAddr struct definition. | 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 | Aug 07, 2003 | |
| Committer | create_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. | 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 | Aug 07, 2003 | |
| Committer | Don'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. | 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 | Aug 07, 2003 | |
| Committer | Remove 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. | 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 | Aug 07, 2003 | |
| Committer | Rename fields of DestReceiver to avoid collisions with (ill-considered) macros in some platforms' sys/socket.h. | 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 | Aug 06, 2003 | |
| Committer | Adopt a random backoff algorithm for sleep delays when waiting for a spinlock. Per recent pghackers discussion. | 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 | Aug 06, 2003 | |
| Committer | Fix 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. | 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 | Aug 06, 2003 | |
| Committer | Improve 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. | 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 | Aug 05, 2003 | |
| CommitterBackported | Fix 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. | 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 | Aug 05, 2003 | |
| Committer | Fix some copyright notices that weren't updated. Improve copyright tool so it won't miss 'em again. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Update vacuumlo to be properly schema-aware. Improve documentation. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Fix erroneous direct reference to postgres.tar.gz, per bug report from Garrick Staples. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Sub-Makefiles need to explicitly add CFLAGS_SL to CFLAGS, else their object files do not get built with -fpic. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Fix to build correctly outside source tree. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Must print server's failure message before trying reconnect, not after. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Fix pltcl and plpython to support STATEMENT triggers. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| CommitterBackported | SSL_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. | 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 | Aug 04, 2003 | |
| CommitterBackported | Fix some more problems with testing error returns from SSL. | 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 | Aug 04, 2003 | |
| Committer | Minor cleanups in S_LOCK_TEST code. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | HPUX's horology behavior is OS-dependent, not hardware-dependent. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Remove --enable-recode feature, since it's been broken by IPv6 changes, and seems to have too few users to justify maintaining. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Put back braces removed by pgindent (not really pgindent's fault). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 04, 2003 | |
| Committer | Tighten 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 03, 2003 | |
| Committer | Reconsider context for calling callback functions --- original idea that they aren't part of error processing is clearly faulty. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 03, 2003 | |
| Committer | Don't pull in libbind except on BeOS, per pgsql-bugs discussion around 12 Jun 2003. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 03, 2003 | |
| Committer | Comment out entries for IPv6 localhost connections, since they fail on machines with no IPv6 support. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Postmaster erroneously rejected SSL connections on IPv6. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix some unprotected references to AF_UNIX ... wouldn't compile on platforms without AF_UNIX sockets. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | inet_recv() wasn't IPv6-ready. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Code 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). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Since 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Get the include ordering right for TCL includes vs whatever is coming from --with-includes. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix a few of the more blatantly unportable constructs in this file. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix inconsistent static-vs-not-static declarations. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix compile warning. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix for Alpha portability. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Update contrib regression tests for recent error message editing. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| CommitterBackported | Add missing #include. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix some minor portability issues, per Chris K-L. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Fix my own mistake in GUC variable annotation. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Improve description of restoring pg_dumpall backups, per gripe from Havard Eidnes. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Adjust 'permission denied' messages to be more useful and consistent. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Aug 01, 2003 | |
| Committer | Very minor editing. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 31, 2003 | |
| Committer | Fix mistaken error code assignments, per Peter's note 7/28/03. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 31, 2003 | |
| Committer | When 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 31, 2003 | |
| Committer | Cause 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 31, 2003 | |
| Committer | Upgrade 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 31, 2003 | |
| Committer | Add pretty-printing variants of pg_get_viewdef and related functions. Patch from Andreas Pflug. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 30, 2003 | |
| Committer | Fix 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 30, 2003 | |
| Committer | Cause 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 30, 2003 | |
| Committer | When 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 30, 2003 | |
| CommitterBackported | Fix 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. | 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 | Jul 29, 2003 | |
| Committer | Coerce 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 29, 2003 | |
| Committer | There 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 29, 2003 | |
| Committer | Use a process-specific temp file name, per Andreas Haumer. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 29, 2003 | |
| Committer | Apply (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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 29, 2003 | |
| Committer | Code 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 28, 2003 | |
| Committer | Add error stack traceback support for SQL-language functions. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 28, 2003 | |
| Committer | Localizability improvement. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 28, 2003 | |
| Committer | elog() is no longer a gettext trigger --- all remaining uses are considered internal errors. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 28, 2003 | |
| Committer | Rename psql's VERBOSE variable to VERBOSITY, per suggestion from Bruce. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 28, 2003 | |
| Committer | A visit from the message-style police ... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 28, 2003 | |
| Committer | elog mop-up: bring some straggling fprintf(stderr)'s into the elog world. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 27, 2003 | |
| Committer | Fix some localizability issues with existing errcontext() calls. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 27, 2003 | |
| Committer | Move ERRCODE_XXX macros into their own header file. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 27, 2003 | |
| Committer | elog mop-up. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 27, 2003 | |
| Committer | elog mop-up. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 27, 2003 | |
| Committer | Remove unportable // comments. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 27, 2003 | |
| Committer | Error message editing in utils/adt. Again thanks to Joe Conway for doing the bulk of the heavy lifting ... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 27, 2003 | |
| Committer | Update to match error editing. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 26, 2003 | |
| Committer | Error 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 25, 2003 | |
| Committer | Recent 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....). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 25, 2003 | |
| Committer | Error message editing in backend/utils (except /adt). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 25, 2003 | |
| Committer | Error message editing in backend/optimizer, backend/rewrite. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 25, 2003 | |
| Committer | Error message editing in backend/storage. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 24, 2003 | |
| Committer | Fix a few portability issues, adjust error messages. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 24, 2003 | |
| Committer | Error message editing in contrib (mostly by Joe Conway --- thanks Joe!) | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 24, 2003 | |
| Committer | Add tsearch2. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 24, 2003 | |
| CommitterBackported | Fix timestamp_date for HAVE_INT64_TIMESTAMP case. | 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 | Jul 24, 2003 | |
| CommitterBackported | Repair 7.3 breakage in timestamp-to-date conversion for dates before 2000. | 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 | Jul 24, 2003 | |
| Committer | Don't refer to AF_UNIX in code not protected with HAVE_UNIX_SOCKETS. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 24, 2003 | |
| Committer | Have 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 ... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 23, 2003 | |
| Committer | Just a spot of copy-editing. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 23, 2003 | |
| Committer | Error message editing in backend/bootstrap, /lib, /nodes, /port. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 22, 2003 | |
| Committer | Error message editing for foreign-key triggers. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 22, 2003 | |
| Committer | A few parentheses shy of a load here ... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 22, 2003 | |
| CommitterBackported | wups, took out one memset too many ... | 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 | Jul 22, 2003 | |
| Committer | Back-patch fix for bugs in pgstat_initstats. | REL7_3_STABLE7.3.4 | Jul 22, 2003 | |
| Committer | Error message editing in backend/libpq, backend/postmaster, backend/tcop. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 22, 2003 | |
| Committer | Error message editing in backend/access. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 21, 2003 | |
| Committer | Fix regression test broken by recent view change. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 21, 2003 | |
| Committer | Error message editing in backend/executor. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 21, 2003 | |
| Committer | Error message editing in backend/catalog. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 21, 2003 | |
| Committer | Another round of error message editing, covering backend/commands/. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 20, 2003 | |
| Committer | Error message editing: finish up undone task of reporting the problem xid when we fail to access pg_clog. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 19, 2003 | |
| Committer | Add ereport-related functions to GETTEXT_TRIGGERS list. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 19, 2003 | |
| Committer | Another round of error message editing, covering backend/parser/. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 19, 2003 | |
| Committer | First bits of work on error message editing. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 18, 2003 | |
| Committer | It 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 18, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 17, 2003 | |
| CommitterBackported | Oh, for crying in a bucket ... relax Assert so that glibc's strxfrm does not dump core. | 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 | Jul 17, 2003 | |
| CommitterBackported | Work around buggy strxfrm() present in some Solaris releases. | 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 | Jul 17, 2003 | |
| CommitterBackported | For 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. | 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 | Jul 17, 2003 | |
| CommitterBackported | Repair 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. | 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 | Jul 17, 2003 | |
| Committer | Make 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 17, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 16, 2003 | |
| Committer | Now that I look, SHOW TRANSACTION_ISOLATION isn't quite consistent with SET TRANSACTION_ISOLATION, either. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 15, 2003 | |
| Committer | Cause 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 15, 2003 | |
| Committer | Avoid 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 15, 2003 | |
| Committer | OSF supports pthreads, per Philip Yarra. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 15, 2003 | |
| Committer | Tweak 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...) | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 15, 2003 | |
| Committer | Remove duplicate definition of ERROR. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 14, 2003 | |
| Committer | Make 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 14, 2003 | |
| Committer | Fix typo in comment, as noted by Weiping He. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 14, 2003 | |
| Committer | The 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 14, 2003 | |
| Committer | Whoops, missed committing this change to match cosmetic changes in ascii.c. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 14, 2003 | |
| CommitterBackported | Fix a *second* buffer overrun bug in to_ascii(). Grumble. | 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 | Jul 14, 2003 | |
| Committer | tm2timestamp 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 04, 2003 | |
| Committer | Fix missing code for HAVE_INT64_TIMESTAMP. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 04, 2003 | |
| Committer | Add --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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 04, 2003 | |
| Committer | Add #include <limits.h> (re-add lost change from Wednesday). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 04, 2003 | |
| Committer | Some 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 04, 2003 | |
| Committer | Fix 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 03, 2003 | |
| Committer | Do 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 03, 2003 | |
| Committer | Code review for UPDATE tab SET col = DEFAULT patch ... whack it around so it has some chance of working in rules ... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 03, 2003 | |
| Committer | Support polymorphic functions in plpgsql. Along the way, replace linked-list search of function cache with hash-table lookup. By Joe Conway. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 01, 2003 | |
| Committer | Aggregates 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 01, 2003 | |
| Committer | Dept. 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 01, 2003 | |
| Committer | Fix documentation comment about restricted environments, per Kevin Jacobs. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 01, 2003 | |
| Committer | STRENGH => STRENGTH, per Jon Jensen. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 01, 2003 | |
| Committer | Department 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 01, 2003 | |
| Committer | SQL 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jul 01, 2003 | |
| Committer | Update contrib/Makefile's list of subdirectories that it does not try to build. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 30, 2003 | |
| Committer | Put back inappropriately-removed entry for earthdistance subdirectory. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 30, 2003 | |
| Committer | Rename plpython to plpythonu, and update documentation to reflect its now-untrusted status. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 30, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 30, 2003 | |
| Committer | Restructure 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 29, 2003 | |
| Committer | Support 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 29, 2003 | |
| Committer | Update 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 28, 2003 | |
| Committer | When using new protocol, PQexec can get out of a COPY IN or COPY OUT state by itself, so do so. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 28, 2003 | |
| Committer | Add is_superuser parameter reporting, soon to be used by psql. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 27, 2003 | |
| Committer | Fix compile warnings. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 27, 2003 | |
| Committer | Missing calls to PQclear in large_obj.c and describe.c. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 27, 2003 | |
| Committer | Create 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 27, 2003 | |
| Committer | Add comment pointing out that XLByteToPrevSeg macro is not broken. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 26, 2003 | |
| Committer | In 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 25, 2003 | |
| CommitterBackported | Don'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. | 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 | Jun 25, 2003 | |
| Committer | 'third' -> 'fourth' where needed, per Joe Conway. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 25, 2003 | |
| Committer | Change pqInternalNotice to accept a format string and args instead of just a preformatted message; per suggestion by Sean Chittenden. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 23, 2003 | |
| Committer | Revise 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 22, 2003 | |
| Committer | Fix some index entries. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 22, 2003 | |
| Committer | Adjust chapter ordering in Internals part to something that seems more reasonable. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 22, 2003 | |
| Committer | Remove 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 22, 2003 | |
| Committer | Use libpq's new logic to get the server version, instead of doing it ourselves. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 22, 2003 | |
| Committer | Bring the libpq example programs into the 21st century. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 22, 2003 | |
| Committer | Get rid of extraneous newline in PQendcopy error output (was causing regression test diffs...). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 21, 2003 | |
| Committer | Update libpq to make new features of FE/BE protocol available to client applications. Some editorial work on libpq.sgml, too. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 21, 2003 | |
| Committer | Fix some markup problems. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 21, 2003 | |
| Committer | Fix 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 20, 2003 | |
| Committer | We neglected to set conn->raddr.salen, leading to breakage of CANCEL and probably other stuff. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 20, 2003 | |
| Committer | Disallow 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 19, 2003 | |
| Committer | Make 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 17, 2003 | |
| Committer | Fix error line numbers reported for errors in plpgsql_parse_word and siblings. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 17, 2003 | |
| CommitterBackported | Fix bugs in interval-to-time conversion: HAVE_INT64_TIMESTAMP case did not work at all, and neither case behaved sanely for negative intervals. | 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 | Jun 16, 2003 | |
| Committer | Allow 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 16, 2003 | |
| Committer | Adjust 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 15, 2003 | |
| Committer | Replace cryptic 'Unknown kind of return type' messages with something hopefully a little more useful. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 15, 2003 | |
| Committer | Cause 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 15, 2003 | |
| Committer | index() -> strchr(). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 15, 2003 | |
| Committer | Okay, recognize freebsd 2.* and 3.* too. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 13, 2003 | |
| Committer | Expect FreeBSD 5.* to have standard float arithmetic. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 13, 2003 | |
| Committer | Fix broken markup. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 12, 2003 | |
| CommitterBackported | Fix 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. | 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 | Jun 12, 2003 | |
| Committer | <sys/socket.h> requires <sys/types.h> to already have been included on some platforms. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 12, 2003 | |
| Committer | Update expected file to match new _int.sql. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 11, 2003 | |
| CommitterBackported | Fix brain damage in deciding which python input converter to use. | 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 | Jun 11, 2003 | |
| Committer | pg_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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 11, 2003 | |
| Committer | Update anonymous-CVS instructions. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 11, 2003 | |
| Committer | Now that I look, that link doesn't belong there at all, does it? | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 11, 2003 | |
| Committer | Fix busted markup. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 11, 2003 | |
| Committer | Remove platform-specific executable; does not belong in distribution. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 11, 2003 | |
| Committer | freeaddrinfo2() does need two parameters after all, per comment by Kurt Roeckx. Add some documentation to try to prevent others from repeating my mistake. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 09, 2003 | |
| Committer | Make bison version test actually work ... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 09, 2003 | |
| Committer | libpq 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.) | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 08, 2003 | |
| CommitterBackported | Add 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. | 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 | Jun 06, 2003 | |
| Committer | Implement 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 06, 2003 | |
| Committer | Make the world at least marginally safe for usernames with embedded spaces. Per recent gripe. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jun 02, 2003 | |
| Committer | markTargetListOrigin neglected to handle outer-scope Vars properly; per report from Joe Conway. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 31, 2003 | |
| Committer | Cause pg_dumpall to support the -a, -s, -x options of pg_dump. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 30, 2003 | |
| Committer | Cause pg_dumpall to include GRANT/REVOKE for database-level permissions in its output. Make it work with server versions back to 7.0, too. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 30, 2003 | |
| Committer | Small 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 30, 2003 | |
| Committer | Ensure 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). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 29, 2003 | |
| Committer | Adopt 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 29, 2003 | |
| Committer | Don'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). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 29, 2003 | |
| Committer | AFAICT, none of our shared libraries are anywhere near big enough to need -fPIC on HPPA. Reduce to -fpic. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 29, 2003 | |
| Committer | Add a regression test to catch future silliness in the index-building area... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 29, 2003 | |
| Committer | Fix stupid oversight :-( | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 29, 2003 | |
| Committer | Knock down a couple more lappend() hotspots for large WHERE clauses. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 28, 2003 | |
| Committer | Fix 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 28, 2003 | |
| Committer | Fix breakage of LINUX_PROFILE code due to recent Windows changes. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 28, 2003 | |
| Committer | Fix 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 28, 2003 | |
| Committer | In 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 28, 2003 | |
| Committer | Replace 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 28, 2003 | |
| Committer | Adjust error-handling logic in libpq. For the first time, libpq copes sanely with running out of memory for a query result. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 26, 2003 | |
| CommitterBackported | Fix misstatement in release-notes item. | 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 | May 26, 2003 | |
| Committer | Make 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... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 26, 2003 | |
| Committer | Cause 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). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 26, 2003 | |
| Committer | Improve 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 23, 2003 | |
| Committer | Seems pl_funcs didn't have support for plpgsql PERFORM statement. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 23, 2003 | |
| CommitterBackported | Update for 7.3.3. | 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 | May 22, 2003 | |
| Committer | Brand 7.3.3. | REL7_3_STABLE7.3.3 | May 22, 2003 | |
| CommitterBackported | Update release history for impending 7.3.3 release. | 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 | May 22, 2003 | |
| Committer | Add defense against possibility that tzname[] doesn't exist. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 22, 2003 | |
| Committer | Adjust 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... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 22, 2003 | |
| CommitterBackported | Repair 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. | 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 | May 22, 2003 | |
| Committer | Back-patch Jan's fix to avoid primary key lookup (and lock) if foreign key does not change on UPDATE. | REL7_3_STABLE7.3.3 | May 21, 2003 | |
| Committer | Fix coredump in pg_get_triggerdef, ensure function name is schema- qualified when necessary, simplify argument-printing code. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 20, 2003 | |
| Committer | Add error message style guidelines to the SGML documentation. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 19, 2003 | |
| CommitterBackported | Use -fPIC on Sparc, per Tom Callaway. | 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 | May 19, 2003 | |
| Committer | Back-patch change to avoid O(N^2) behavior with lots of deferred triggers, by making deferredTriggerInvokeEvents only scan events added since it last ran. | REL7_3_STABLE7.3.3 | May 19, 2003 | |
| CommitterBackported | Repair quoting sloppiness, lack of schema awareness in reindexdb. | 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 | May 19, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 18, 2003 | |
| Committer | Fix breakage induced by recent patch (careless use of fmtId()). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 17, 2003 | |
| CommitterBackported | Fix failure when uniq-ifying an array of zero elements. | 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 | May 16, 2003 | |
| Committer | Back-patch fix to allow createuser to exit on control-C (Oliver Elphick) | REL7_3_STABLE7.3.3 | May 16, 2003 | |
| Committer | Back-patch fix from Oliver Elphick to force ISO datestyle in dumps. | REL7_3_STABLE7.3.3 | May 16, 2003 | |
| CommitterBackported | Small changes to use the absolute path to system catalogs. | 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 | May 16, 2003 | |
| CommitterBackported | Check calling context for connectby_text(), per Joe Conway. | 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 | May 16, 2003 | |
| Committer | Revert kerberos code breakage. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 16, 2003 | |
| Committer | Revert 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 15, 2003 | |
| Committer | Add missing #include. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 15, 2003 | |
| Committer | Fix oversight: ignore-till-SYNC state should not ignore EOF ... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 14, 2003 | |
| Committer | Add text(cidr) cast, per recent discussion. I'm not bothering to force an initdb for this. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 14, 2003 | |
| Committer | Fix various recent build and regression-test problems in contrib/. Includes fixes from Joe Conway. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 14, 2003 | |
| Committer | Backend 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 14, 2003 | |
| Committer | In 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 13, 2003 | |
| Committer | More binary I/O routines. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 13, 2003 | |
| Committer | Change 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 13, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 12, 2003 | |
| Committer | Avoid unnecessary copying of parameter values in BIND. This allows efficient insertion of large bytea values through the BIND interface. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 12, 2003 | |
| Committer | Apply fixes for problems with dropped columns whose types have also been dropped. Add regression test, too. | REL7_3_STABLE7.3.3 | May 12, 2003 | |
| Committer | Apply 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 12, 2003 | |
| Committer | Finish removing HPUXMATHLIB. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 11, 2003 | |
| Committer | Revert previous change --- turns out the underlying problem affects more cases than I thought, so ExecTypeFromTL() will have to be fixed anyway. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 11, 2003 | |
| Committer | Disable 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 11, 2003 | |
| Committer | Make 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 10, 2003 | |
| Committer | In child-crashed log messages, identify a checkpoint process as such instead of calling it a 'server process'. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 10, 2003 | |
| CommitterBackported | Adjust 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. | 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 | May 10, 2003 | |
| Committer | Implement array_send/array_recv (binary I/O for arrays). This exposed the folly of not passing element type to typsend/typreceive, so fix that. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 09, 2003 | |
| Committer | COPY BINARY uses the new binary I/O routines. Update a few more datatypes so that COPY BINARY regression test passes. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 09, 2003 | |
| Committer | Now that fastpath protocol allows null arguments to be passed, fastpath.c had better check for strict functions. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 09, 2003 | |
| Committer | Implement 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). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 09, 2003 | |
| Committer | Binary send/receive routines for a few basic datatypes --- enough for testing purposes. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 09, 2003 | |
| Committer | Reinstate 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 08, 2003 | |
| Committer | I think we're done with protocol instability, so mark server and libpq as speaking the one true 3.0 protocol. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 08, 2003 | |
| Committer | Update 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 08, 2003 | |
| Committer | Fix documentation problem pointed out by Barry Lind: code expected a terminating zero byte in StartupMessage, docs didn't mention it. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 08, 2003 | |
| Committer | Update COPY BINARY file format spec to reflect recent decisions about external representation of binary data. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 07, 2003 | |
| Committer | Revise protocol doc for recently-agreed modifications. This is the first version of the 3.0 protocol that can be considered non-draft. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 07, 2003 | |
| Committer | Fix erroneous example, per Tim Knowles. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 07, 2003 | |
| Committer | Minor editorializing. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 06, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 06, 2003 | |
| Committer | Ensure 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 06, 2003 | |
| Committer | Restructure 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 06, 2003 | |
| Committer | Implement 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 06, 2003 | |
| Committer | Ditch 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 05, 2003 | |
| Committer | Alter 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 05, 2003 | |
| Committer | Provide a real link to CREATE SEQUENCE's reference page in nextval/setval discussion. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 05, 2003 | |
| Committer | Not sure why parser() was still doing clearerr(stdin) ... but it's *got* to be pointless. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 05, 2003 | |
| Committer | Extended query protocol: parse, bind, execute, describe FE/BE messages. Only lightly tested as yet, since libpq doesn't know anything about 'em. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 05, 2003 | |
| CommitterBackported | Allow 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. | 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 | May 04, 2003 | |
| CommitterBackported | When 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. | 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 | May 04, 2003 | |
| CommitterBackported | Fix 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. | 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 | May 03, 2003 | |
| Committer | Portal 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 02, 2003 | |
| Committer | Repair 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 02, 2003 | |
| Committer | Documentation refers to box() function where it should say box_intersect(). Thanks to Wes Sheldah for finding this one. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | May 01, 2003 | |
| Committer | Update 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). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 30, 2003 | |
| Committer | Infrastructure 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 29, 2003 | |
| Committer | Code review for holdable-cursors patch. Fix error recovery, memory context sloppiness, some other things. Includes Neil's mopup patch of 22-Apr. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 29, 2003 | |
| Committer | Minor wordsmithing on .pgpass description. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 28, 2003 | |
| Committer | Minor improvement in wording. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 28, 2003 | |
| Committer | Missed some corner cases (PGSERVICE mostly)... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 28, 2003 | |
| Committer | Okay, 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 28, 2003 | |
| Committer | Make 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 27, 2003 | |
| Committer | Prevent coredump in current_schemas() if someone has just deleted a schema that was in our search path. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 27, 2003 | |
| Committer | Fix 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 27, 2003 | |
| Committer | Put 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.) | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 27, 2003 | |
| Committer | Department of second thoughts: probably still need an IsTransactionState test in there... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 27, 2003 | |
| Committer | Clean 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 27, 2003 | |
| CommitterBackported | Repair permissions problem in RI triggers: query parsing has to be done as the correct user, not only query execution. Per report from Sean Chittenden. | 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 | Apr 26, 2003 | |
| Committer | Add 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.) | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 26, 2003 | |
| Committer | Correct 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. | REL7_3_STABLE7.3.3 | Apr 26, 2003 | |
| Committer | Tweak 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 26, 2003 | |
| Committer | Back-patch fixes for zero-column tables in COPY, pg_dump. | REL7_3_STABLE7.3.3 | Apr 25, 2003 | |
| CommitterBackported | Make [VACUUM] ANALYZE safe on zero-column tables. | 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 | Apr 25, 2003 | |
| Committer | In 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.) | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 25, 2003 | |
| Committer | const-ify info_cb() to match recent openssl releases. Per Joe Conway. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 25, 2003 | |
| Committer | Fix breakage induced by yours truly in Kerberos and PAM code. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 25, 2003 | |
| Committer | COPY and pg_dump failed to cope with zero-column tables. Fix 'em. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 25, 2003 | |
| Committer | Adjust 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 24, 2003 | |
| Committer | Infrastructure 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? | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 24, 2003 | |
| Committer | Fix misbehavior of func_error() on type names containing '%'. Will patch separately but equivalently in HEAD. | REL7_3_STABLE7.3.3 | Apr 23, 2003 | |
| Committer | Fix misbehavior of replace() on strings containing '%'. Will patch separately but equivalently in HEAD. | REL7_3_STABLE7.3.3 | Apr 23, 2003 | |
| Committer | getaddrinfo has no business doing unlink(). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 22, 2003 | |
| Committer | Another 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 22, 2003 | |
| CommitterBackported | Prevent palloc(0) error when parent table has zero columns. | 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 | Apr 21, 2003 | |
| Committer | stddev() and variance() should return NULL when there is just one input value, per recent discussion on pgsql-general. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 21, 2003 | |
| Committer | Apple'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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 20, 2003 | |
| Committer | Fix multiple causes of breakage in plperl's error handling. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 20, 2003 | |
| Committer | Fix 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.*. | REL7_3_STABLE7.3.3 | Apr 20, 2003 | |
| Committer | Avoid 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 20, 2003 | |
| Committer | Add more documentation about shared memory costs. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 19, 2003 | |
| Committer | Second round of FE/BE protocol changes. Frontend->backend messages now have length counts, and COPY IN data is packetized into messages. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 19, 2003 | |
| Committer | Fix breakage from recent variable-handling changes. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 18, 2003 | |
| Committer | First 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 17, 2003 | |
| CommitterBackported | Fix 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. | 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 | Apr 17, 2003 | |
| Committer | Various 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 16, 2003 | |
| Committer | Fix some problems exposed by building outside the source tree. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 16, 2003 | |
| CommitterBackported | Fix stupid oversight ... | 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 | Apr 16, 2003 | |
| Committer | First draft of revised FE/BE protocol specification. Still needs work, but I'm putting it up so people can see and comment on it. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 15, 2003 | |
| CommitterBackported | eqjoinsel'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. | 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 | Apr 15, 2003 | |
| Committer | path.c needs to be included in libpq; per Joe Conway. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 14, 2003 | |
| Committer | Another try at correctly explaining the difference between Postgres and SQL92 temp tables. Possibly I got it right this time. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 14, 2003 | |
| Committer | Reorganize 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 14, 2003 | |
| Committer | Minor copy-editing. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 14, 2003 | |
| Committer | Clarify description of our deviation from standard for temp tables, per suggestion from Mike Sykes. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 14, 2003 | |
| CommitterBackported | Second try at avoiding conflicts with system isblank(). | 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 | Apr 13, 2003 | |
| Committer | Add code to provide useful dynamic-linking error messages on OS X. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 13, 2003 | |
| Committer | On some systems <sys/types.h> must be included before <sys/socket.h>. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 12, 2003 | |
| CommitterBackported | Guard against macro versions of isblank(). | 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 | Apr 12, 2003 | |
| Committer | Add #include <errno.h> per recent reports that it's now necessary on RHL 9. (Not clear why it didn't break long before, actually...) | REL7_2_STABLE7.2.5 | Apr 11, 2003 | |
| CommitterBackported | Fix error recovery for SSL_read/SSL_write calls. | 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 | Apr 10, 2003 | |
| CommitterBackported | Remove 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. | 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 | Apr 10, 2003 | |
| Committer | First 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 08, 2003 | |
| Committer | Get rid of inappropriate flags in CPPFLAGS override --- these break non-gcc compilers, and they would never belong in CPPFLAGS anyway. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 08, 2003 | |
| Committer | Mark TimeScales constants as double to avoid integer overflow in some compilers. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 08, 2003 | |
| Committer | Remove extraneous semicolons. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 08, 2003 | |
| Committer | Remove unnecessary dt2local() call. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 07, 2003 | |
| Committer | Clarify exactly when DST-changeover-induced regression test failures can be expected to occur. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 06, 2003 | |
| Committer | Fix some signed-vs-unsigned-int issues; make print_aligned_vertical safe for zero-column tables. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 04, 2003 | |
| Committer | Tighten up register usage for inline PPC version of tas(). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 04, 2003 | |
| Committer | Put the isync where it's supposed to be. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 04, 2003 | |
| Committer | Avoid 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 04, 2003 | |
| Committer | Code 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 04, 2003 | |
| Committer | Back-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. | REL7_3_STABLE7.3.3 | Apr 04, 2003 | |
| Committer | Remove 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 03, 2003 | |
| Committer | Prevent 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 03, 2003 | |
| Committer | Don't re-invent the strchr() wheel. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 03, 2003 | |
| Committer | Fix 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 03, 2003 | |
| Committer | const-ify functions used with completion_matches(), to suppress cast-away-const warnings from compilers pickier than gcc. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 03, 2003 | |
| CommitterBackported | Repair incorrect checking of grouped/ungrouped variables in the presence of unnamed joins; per pghackers discussion 31-Mar-03. | 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 | Apr 03, 2003 | |
| CommitterBackported | Fix buffer overrun in to_ascii(), per report from Guido Notari. | 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 | Apr 02, 2003 | |
| Committer | Fix convSockAddr6to4(): eliminate bogus assumptions about byte ordering, remove useless SockAddr_ntop() call. Per report from Andreas Pflug. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 02, 2003 | |
| Committer | Fix platform-dependent failure introduced by recent to_char changes (ye good olde uninitialized-local-variable). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 02, 2003 | |
| Committer | This is a derived file and should never have been added to CVS. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 02, 2003 | |
| Committer | Whack getaddrinfo() patch around until it works, more or less, on machines without IPv6. Or at least it works on HPUX 10.20 ... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 02, 2003 | |
| Committer | Add missing semicolon. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Apr 01, 2003 | |
| CommitterBackported | TestConfiguration 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. | 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 | Mar 31, 2003 | |
| Committer | Fix broken markup. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 30, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 28, 2003 | |
| Committer | Regression output didn't get updated to match recent commit. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 28, 2003 | |
| CommitterBackported | Fix bogus coding of SET DEFAULT ri triggers ... or at least make it less bogus than it was. Per bug report from Adrian Pop. | 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 | Mar 27, 2003 | |
| CommitterBackported | GetTupleForTrigger must use outer transaction's command counter for time qual checking, not GetCurrentCommandId. Per test case from Steve Wolfe. | 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 | Mar 27, 2003 | |
| Committer | plpgsql 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 25, 2003 | |
| Committer | Factor 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...) | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 25, 2003 | |
| Committer | Ignore 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 24, 2003 | |
| Committer | Modify 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 24, 2003 | |
| Committer | Adjust 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 23, 2003 | |
| Committer | Band-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. | REL7_3_STABLE7.3.3 | Mar 23, 2003 | |
| Committer | Instead 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 23, 2003 | |
| CommitterBackported | Tweak selectivity and related routines to cope with domains. Per report from Andreas Pflug. | 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 | Mar 23, 2003 | |
| Committer | Department 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 22, 2003 | |
| Committer | Adjust 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 22, 2003 | |
| Committer | Fix compile warning. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 21, 2003 | |
| Committer | Reimplement 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 21, 2003 | |
| Committer | Arrange 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 15, 2003 | |
| CommitterBackported | pg_dumpall failed on groups having no members. Per report from Nick Eskelinen. | 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 | Mar 14, 2003 | |
| CommitterBackported | Repair 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. | 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 | Mar 14, 2003 | |
| Committer | Make eval_const_expressions simplify FieldSelect from a whole-row Var into an ordinary one-field Var. Per example from Chris Mungall. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 14, 2003 | |
| CommitterBackported | Prevent infinite loop in ln_var() due to roundoff error. Per report from Dave Marin. | 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 | Mar 14, 2003 | |
| CommitterBackported | GROUP 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). | 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 | Mar 13, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 11, 2003 | |
| Committer | Implement SQL92-compatible FIRST, LAST, ABSOLUTE n, RELATIVE n options for FETCH and MOVE. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 11, 2003 | |
| Committer | This patch fixes a bunch of spelling mistakes in comments throughout the PostgreSQL source code. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 10, 2003 | |
| Committer | Restructure 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 10, 2003 | |
| CommitterBackported | pg_restore failed to restore blobs if -X disable-triggers is specified. | 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 | Mar 09, 2003 | |
| Committer | tuplestore_donestoring() isn't needed anymore, but provide a no-op macro definition so as not to create compatibility problems. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 09, 2003 | |
| Committer | Revise 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 09, 2003 | |
| CommitterBackported | Tweak 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... | 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 | Mar 06, 2003 | |
| CommitterBackported | Add missing --globals-only (long form of -g). | 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 | Mar 06, 2003 | |
| Committer | Use 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 06, 2003 | |
| Committer | Add 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). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 06, 2003 | |
| Committer | Turns 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'. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 05, 2003 | |
| CommitterBackported | Repair 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). | 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 | Mar 05, 2003 | |
| Committer | Reimplement 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(). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 04, 2003 | |
| CommitterBackported | Prevent clustering on incomplete indexes: partial indexes are verboten, as are non-amindexnulls AMs unless first column is attnotnull. | 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 | Mar 03, 2003 | |
| Committer | Improve description of geometric operators. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 03, 2003 | |
| Committer | Correct/edit comments for geometric operators. No change except to pg_description entries, so I did not force initdb. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 03, 2003 | |
| Committer | Be 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Mar 02, 2003 | |
| CommitterBackported | Repair 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. | 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 | Mar 02, 2003 | |
| CommitterBackported | Change 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. | 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 | Feb 27, 2003 | |
| Committer | Remove 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 25, 2003 | |
| Committer | Avoid using a separate query to fetch the default expressions for columns. Improved version of patch by mallah@trade-india.com. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 24, 2003 | |
| Committer | During 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 24, 2003 | |
| Committer | Remove no-longer-used FixBTree GUC variable. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 23, 2003 | |
| Committer | btree 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 23, 2003 | |
| Committer | Adjust 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 23, 2003 | |
| Committer | Improve coding of log_heap_clean() and heap_xlog_clean(). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 23, 2003 | |
| Committer | First cut at recycling space in btree indexes. Still some rough edges to fix, but it seems to basically work... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 23, 2003 | |
| CommitterBackported | If 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. | 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 | Feb 23, 2003 | |
| Committer | Simplify 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 22, 2003 | |
| Committer | More 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 22, 2003 | |
| Committer | Revert patch that broke \d commands, until it can be fixed. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 21, 2003 | |
| Committer | Repair 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. | REL7_3_STABLE7.3.3 | Feb 21, 2003 | |
| Committer | Make 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 21, 2003 | |
| CommitterBackported | Fix 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. | 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 | Feb 20, 2003 | |
| CommitterBackported | Async_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. | 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 | Feb 18, 2003 | |
| Committer | Back 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 16, 2003 | |
| Committer | COALESCE() 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 16, 2003 | |
| Committer | Marginal tweaks to make sure that roundoff error won't cause us to make a bad choice between sorted and hashed aggregation. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 15, 2003 | |
| Committer | Teach 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 15, 2003 | |
| CommitterBackported | Fix SPI result logic for case where there are multiple statements of the same type in a rule. Per bug report from Pavel Hanak. | 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 | Feb 14, 2003 | |
| Committer | Fix some of the breakage from the IPV6 patch. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 14, 2003 | |
| Committer | Remove bogus manipulation of SIGPIPE; the backend already runs with SIGPIPE disabled, and does not need to waste two syscalls per I/O on it. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 14, 2003 | |
| CommitterBackported | Repair incorrect indexing for atttypmod, per Brad McLean. | 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 | Feb 13, 2003 | |
| CommitterBackported | Result of lo_read() is int, not size_t. Per Oleg Drokin. | 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 | Feb 13, 2003 | |
| CommitterBackported | Parser was dropping foreign-key constraints on the floor if present in an ALTER TABLE ADD COLUMN command. Per bug #896. | 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 | Feb 13, 2003 | |
| CommitterBackported | Repair 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. | 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 | Feb 13, 2003 | |
| Committer | Arrange 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 13, 2003 | |
| Committer | transformExpr() 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 ... | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 13, 2003 | |
| Committer | Suppress gcc warning. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 13, 2003 | |
| CommitterBackported | Prevent timetz2tm() from scribbling on its input in HAVE_INT64_TIMESTAMP case. | 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 | Feb 13, 2003 | |
| CommitterBackported | Use 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. | 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 | Feb 11, 2003 | |
| Committer | Fix 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 10, 2003 | |
| Committer | Add code to show join rule (for outer and IN joins) in join type name. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 10, 2003 | |
| Committer | Get 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 10, 2003 | |
| Committer | Detect 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 09, 2003 | |
| Committer | Create 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 09, 2003 | |
| Committer | Remove bogus comment (too freely copied & pasted). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 09, 2003 | |
| Committer | Make 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 09, 2003 | |
| Committer | Replace 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 08, 2003 | |
| CommitterBackported | Revise 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. | 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 | Feb 07, 2003 | |
| Committer | Avoid generating relid lists with duplicate entries. Fixes bugs reported by Stefanos Harhalakis 2/2/2003. | REL7_3_STABLE7.3.3 | Feb 07, 2003 | |
| Committer | Make flatten_join_alias_vars() do the right thing when expanding an alias referenced from a subquery. Per example from Stefanos Harhalakis. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 06, 2003 | |
| Committer | Create a GUC variable REGEX_FLAVOR to control the type of regular expression accepted by the regex operators, per discussion yesterday. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 06, 2003 | |
| CommitterBackported | Fix core dump when pltcl_elog is called with wrong number of parameters, per report from Ian Harding. | 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 | Feb 06, 2003 | |
| CommitterBackported | Allow 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). | 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 | Feb 05, 2003 | |
| Committer | Replace 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 05, 2003 | |
| Committer | Minor 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 04, 2003 | |
| Committer | Detect 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 03, 2003 | |
| Committer | Determine 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 03, 2003 | |
| Committer | Tweak 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%. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 03, 2003 | |
| Committer | Implement EXPLAIN EXECUTE. By Neil Conway, with some kibitzing from Tom Lane. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Feb 02, 2003 | |
| Committer | Brand 7.3.2. | REL7_3_STABLE7.3.2 | Feb 02, 2003 | |
| CommitterBackported | Update release history for 7.3.2. | 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 | Feb 02, 2003 | |
| CommitterBackported | Fix 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. | 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 | Feb 02, 2003 | |
| CommitterBackported | Remove 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. | 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 | Feb 01, 2003 | |
| CommitterBackported | Cleaner 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. | 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 | Feb 01, 2003 | |
| CommitterBackported | Changes of 6-Sep-02 broke pg_restore's ability to recognize tar-format files. Fix it. | 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 | Feb 01, 2003 | |
| CommitterBackported | Fix assign_session_authorization() to not be confused by all-numeric user names. Per recent reports. | 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 | Feb 01, 2003 | |
| CommitterBackported | Prevent core dump from calling Tcl_DontCallWhenDeleted() with a null interp pointer. Per report from Gerhard Hintermayer. | 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 | Feb 01, 2003 | |
| CommitterBackported | Apply 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. | 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 | Feb 01, 2003 | |
| CommitterBackported | Make plpython's spi_execute interface handle NULLs properly. From Andrew Bosma. | 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 | Jan 31, 2003 | |
| CommitterBackported | Clean 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. | 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 | Jan 31, 2003 | |
| CommitterBackported | Tweak 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. | 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 | Jan 31, 2003 | |
| Committer | Allow 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 31, 2003 | |
| CommitterBackported | Handle mixed-case names properly in plpgsql_parse_tripwordtype. From Neil Conway. | 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 | Jan 31, 2003 | |
| Committer | Fix typo, per Neil Conway. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 31, 2003 | |
| CommitterBackported | Fix regression in .pgpass support. From Neil Conway. | 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 | Jan 30, 2003 | |
| CommitterBackported | Update release history for 7.2.4. | 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 | Jan 29, 2003 | |
| Committer | Brand 7.2.4. | REL7_2_STABLE7.2.4 | Jan 29, 2003 | |
| Committer | Back-patch fix to avoid integer overflow in ExecHashJoinGetBatch(), which leads to core dump in large-enough hash joins. | REL7_2_STABLE7.2.4 | Jan 29, 2003 | |
| CommitterBackported | SPI_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. | 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 | Jan 29, 2003 | |
| Committer | Tweak 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 29, 2003 | |
| Committer | Guard 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 29, 2003 | |
| CommitterBackported | Repair 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.) | 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 | Jan 29, 2003 | |
| CommitterBackported | Fix array subscript overruns identified by Yichen Xie. | 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 | Jan 29, 2003 | |
| Committer | Extend 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 28, 2003 | |
| CommitterBackported | Convert 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. | 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 | Jan 28, 2003 | |
| Committer | Upgrade 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 27, 2003 | |
| Committer | Get rid of last few unadorned 'permission denied' messages. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 27, 2003 | |
| CommitterBackported | Prevent core dump when die_horribly() is called with null AH pointer. Problem reported and fixed by Oliver Elphick. | 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 | Jan 27, 2003 | |
| Committer | Back-patch fixes to detoast pg_group.grolist. | REL7_2_STABLE7.2.4 | Jan 26, 2003 | |
| Committer | Back-patch fixes to ensure t_ctid always has correct value (prevents some instances of 'No one parent tuple' VACUUM error, and perhaps worse things). | REL7_2_STABLE7.2.4 | Jan 26, 2003 | |
| Committer | Back-patch fix for alphabetization mistakes in datetime token tables. | REL7_2_STABLE7.2.4 | Jan 26, 2003 | |
| Committer | Allow 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.) | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 25, 2003 | |
| Committer | Where 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 25, 2003 | |
| Committer | Use 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 25, 2003 | |
| Committer | Suppress gcc warnings. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 24, 2003 | |
| Committer | Back-patch fix for not shell-quoting editor name, as it also fixes silly buffer overrun (someone needs to learn to count characters...) | REL7_3_STABLE7.3.2 | Jan 24, 2003 | |
| Committer | Modify 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 24, 2003 | |
| CommitterBackported | Fix obsolete error message (isImmutable doesn't exist). | 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 | Jan 23, 2003 | |
| CommitterBackported | Change 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. | 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 | Jan 23, 2003 | |
| CommitterBackported | Update '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. | 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 | Jan 23, 2003 | |
| Committer | Fix sloppy comment. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 22, 2003 | |
| CommitterBackported | Make estimation of mergejoin scan selectivities more robust, per recent example from RaÇl GutiÅrrez. | 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 | Jan 22, 2003 | |
| Committer | Improve print_expr() a little. It's still not very bright though. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 22, 2003 | |
| Committer | Implement choice between hash-based and sort-based grouping for doing DISTINCT processing on the output of an IN sub-select. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 22, 2003 | |
| CommitterBackported | Fix 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. | 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 | Jan 21, 2003 | |
| Committer | Back-patch typprtlen fix, two other minor post-7.3 fixes. | REL7_3_STABLE7.3.2 | Jan 21, 2003 | |
| Committer | Back-patch fix to ensure pg_clog updates are not only written but sync'ed before we consider the checkpoint to be done. | REL7_2_STABLE7.2.4 | Jan 21, 2003 | |
| Committer | Avoid gratuitous variation in spelling of same error message. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 21, 2003 | |
| Committer | Back-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(). | REL7_2_STABLE7.2.4 | Jan 21, 2003 | |
| Committer | Back-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. | REL7_2_STABLE7.2.4 | Jan 21, 2003 | |
| Committer | IN 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 20, 2003 | |
| Committer | Fix 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 17, 2003 | |
| Committer | Adjust 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 17, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 16, 2003 | |
| Committer | Ooops, didn't cut-and-paste quite enough code from ResolveNew; with result that flatten_join_alias_vars failed to descend into subselects. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 16, 2003 | |
| CommitterBackported | Fix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne. | 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 | Jan 16, 2003 | |
| CommitterBackported | Repair 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. | 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 | Jan 16, 2003 | |
| Committer | Now 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 15, 2003 | |
| Committer | Allow 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 15, 2003 | |
| Committer | Fix information_schema.sql install to work when building outside source tree. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 13, 2003 | |
| Committer | Reconsider 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 13, 2003 | |
| Committer | Cause 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 13, 2003 | |
| Committer | Recent changes in sublink representation require exprType() to accept SubPlan nodes, else explaining queries containing sublinks may fail. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 13, 2003 | |
| Committer | Revise 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 12, 2003 | |
| Committer | Fix wrong/misleading comments, be more consistent about where to call ExecAssignResultTypeFromTL(). | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 12, 2003 | |
| Committer | Fix some minor grammatical errors. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 12, 2003 | |
| Committer | First cut at implementing IN (and NOT IN) via hashtables. There is more to be done yet, but this is a good start. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 12, 2003 | |
| CommitterBackported | Cause symlinks for shared-library versioning to run in the standard direction on HP-UX; our former approach has been obsolete since HPUX 9. | 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 | Jan 11, 2003 | |
| Committer | Create a new file executor/execGrouping.c to centralize utility routines shared by nodeGroup, nodeAgg, and soon nodeSubplan. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 10, 2003 | |
| CommitterBackported | Add missing <limits.h> for INT64_IS_BUSTED case. | 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 | Jan 10, 2003 | |
| Committer | Further 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 10, 2003 | |
| Committer | Adjust 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 09, 2003 | |
| Committer | Add missing #include <getopt.h>. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 09, 2003 | |
| Committer | Move new typedef AclId into c.h, so as to avoid cluttering namespace by having to include miscadmin.h into other header files. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 09, 2003 | |
| Committer | Call timestamp_in with proper arguments, per gripe from Mark Halliwell. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 09, 2003 | |
| CommitterBackported | Repair 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. | 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 | Jan 09, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 09, 2003 | |
| Committer | Guard against stopping when numberTuples=0 and counter wraps around. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 08, 2003 | |
| Committer | Reconsider 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 08, 2003 | |
| CommitterBackported | Repair 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. | 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 | Jan 08, 2003 | |
| CommitterBackported | Fix 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. | 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 | Jan 08, 2003 | |
| Committer | Code 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 08, 2003 | |
| Committer | SendFunctionResult should take care to detoast varlena results. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 07, 2003 | |
| Committer | Fix various places where global s/NOTICE/WARNING/ was applied with too much enthusiasm. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 07, 2003 | |
| Committer | Update for new we-always-have-getopt_long approach. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 07, 2003 | |
| Committer | Apply 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 07, 2003 | |
| Committer | Tweak 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 07, 2003 | |
| Committer | Add 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 06, 2003 | |
| Committer | ALTER DOMAIN OWNER, from Rod Taylor. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 06, 2003 | |
| CommitterBackported | Fix 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. | 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 | Jan 05, 2003 | |
| Committer | Add missing include --- seems include file references are different in CVS tip than in this branch. | REL7_3_STABLE7.3.2 | Jan 05, 2003 | |
| Committer | Partial 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 04, 2003 | |
| Committer | Enforces 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. | master7.4beta1REL_19_STABLE7.4beta1REL_18_STABLE7.4beta1REL_17_STABLE7.4beta1REL_16_STABLE7.4beta1REL_15_STABLE7.4beta1REL_14_STABLE7.4beta1REL_13_STABLE7.4beta1+21 more | Jan 02, 2003 | |
| CommitterBackported | fastpath 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. | 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 | Jan 01, 2003 | |
| CommitterBackported | Awhile 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. | 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 | Jan 01, 2003 |