Commits in December 2000
Commits103 commits
0Author
103Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Committer | Mark geometric 'overlaps' operators (&&) as self-commutative. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 31, 2000 | |
| Committer | Fix typo in error message. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 31, 2000 | |
| Committer | Don't say 'export PGHOST' or 'export PGPORT' unless we actually define those variables. Some shells will invent an empty-string definition in this case, which is not what we want. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 31, 2000 | |
| Committer | On further thought, we need a defense against empty PGPORT here too. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 31, 2000 | |
| Committer | Ignore PGPORT environment variable if it is an empty string. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 31, 2000 | |
| Committer | Reverse #if test to be defined(__osf__) rather than not-any-of-a-lot- of-others. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 31, 2000 | |
| Committer | NetBSD/Alpha porting fixes from tom@minnesota.com. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 31, 2000 | |
| Committer | Be more careful about the difference between signed and unsigned ints. Bug is revealed by OID regress test on 64-bit platforms. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 30, 2000 | |
| Committer | Apparently, special float8 comparison file for Alpha is only needed when using vendor cc, not gcc. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 30, 2000 | |
| Committer | Clean up spinlock assembly code slightly (just cosmetic improvements) for Alpha gcc case. For Alpha non-gcc case, replace use of __INTERLOCKED_TESTBITSS_QUAD builtin with __LOCK_LONG_RETRY and __UNLOCK_LONG. The former does not execute an MB instruction and therefore was guaranteed not to work on multiprocessor machines. The LOCK_LONG builtins produce code that is the same in all essential details as the gcc assembler code. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 30, 2000 | |
| Committer | Paranoia about possible values of errno after a shmget/semget failure. In theory we should always get EEXIST if there's a key collision, but if the kernel code tests error conditions in a weird order, perhaps EACCES or EIDRM could occur too. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 30, 2000 | |
| Committer | Remove obsolete and unportable enable_plpgsql script. createlang has been the supported and documented way to do this for a long time... | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 30, 2000 | |
| Committer | column and tuple numbers should be int not size_t. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 29, 2000 | |
| Committer | Fix failure in CreateCheckPoint on some Alpha boxes --- it's not OK to assume that TAS() will always succeed the first time, even if the lock is known to be free. Also, make sure that code will eventually time out and report a stuck spinlock, rather than looping forever. Small cleanups in s_lock.h, too. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 29, 2000 | |
| Committer | stamp-h needs to be made by config.status, not elsewhere, per recipe in Autoconf manual. In particular, touching it before creating config.status is guaranteed to lose. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 29, 2000 | |
| Committer | Let's try this again on accepting the correct range of Oid input values for 64-bit platforms ... | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 28, 2000 | |
| Committer | Correct erroneous documentation of PQsetnonblocking(). | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 28, 2000 | |
| Committer | Fix portability problems recently exposed by regression tests on Alphas. 1. Distinguish cases where a Datum representing a tuple datatype is an OID from cases where it is a pointer to TupleTableSlot, and make sure we use the right typlen in each case. 2. Make fetchatt() and related code support 8-byte by-value datatypes on machines where Datum is 8 bytes. Centralize knowledge of the available by-value datatype sizes in two macros in tupmacs.h, so that this will be easier if we ever have to do it again. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 27, 2000 | |
| Committer | Improve comments. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 23, 2000 | |
| Committer | Compute reasonable cost and output-row-count estimates for LIMIT plan nodes. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 23, 2000 | |
| Committer | Replace overly-cute coding with code that (a) has defined behavior according to the ANSI C spec, (b) gets the boundary conditions right, and (c) is about a third as long and three times more intelligible. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 23, 2000 | |
| Committer | Small cleanup of temp-table handling. Disallow creation of a non-temp table that inherits from a temp table. Make sure the right things happen if one creates a temp table, creates another temp that inherits from it, then renames the first one. (Previously, system would end up trying to delete the temp tables in the wrong order.) | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 22, 2000 | |
| Committer | Repair not-too-well-thought-out code to do rangechecking of OIDs on 64-bit machines. Also, make oidvectorin use the same code as oidin. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 22, 2000 | |
| Committer | Improve error message for case where DROP TABLE is rejected because table has a child table. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 22, 2000 | |
| Committer | Add 'ONLY' to queries generated by RI triggers, so as to preserve pre-7.1 semantics of RI operations. Eventually we ought to look at making RI work properly across inheritance trees, but not for 7.1 ... | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 22, 2000 | |
| Committer | Fix broken markup. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 22, 2000 | |
| Committer | Change default output formatting for CIDR to be unabbreviated, per recommendation from Paul Vixie. Add a new abbrev() function to produce abbreviated format as text. No forced initdb, but new function is not available unless you do an initdb or add the pg_proc row manually. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 22, 2000 | |
| Committer | Clean up CREATE TYPE/OPERATOR/AGGREGATE productions, so that parser will not accept types named with operator names or vice versa. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 22, 2000 | |
| Committer | Revise lock manager to support "session level" locks as well as "transaction level" locks. A session lock is not released at transaction commit (but it is released on transaction abort, to ensure recovery after an elog(ERROR)). In VACUUM, use a session lock to protect the master table while vacuuming a TOAST table, so that the TOAST table can be done in an independent transaction. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 22, 2000 | |
| Committer | Fix longstanding bug with VIEW using BETWEEN: OffsetVarNodes would get applied to the duplicated subtree twice. Probably someday we should fix the parser not to generate multiple links to the same subtree, but for now a quick copyObject() is the path of least resistance. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 21, 2000 | |
| Committer | Remove multi.c and single.c, which have been dead code for over two years. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 20, 2000 | |
| Committer | Prevent freshly-started backend from ignoring SIGUSR1, per race condition observed by Inoue. Also, don't call ProcRemove() from postmaster if we have detected a backend crash --- too risky if shared memory is corrupted. It's not needed anyway, considering we are going to reinitialize shared memory and semaphores as soon as the last child is dead. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 20, 2000 | |
| Committer | Mention fallback case for type coercion in description of function resolution procedure. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 19, 2000 | |
| Committer | Document the array_dims() function, and make some other small improvements in the docs for arrays. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 18, 2000 | |
| Committer | Ensure that 'errno' is saved and restored by all signal handlers that might change it. Experimentation shows that the signal handler call mechanism does not save/restore errno for you, at least not on Linux or HPUX, so this is definitely a real risk. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 18, 2000 | |
| Committer | Make sure make_rels_by_clause_joins doesn't return multiple references to same joinrel. Although make_rels_by_joins doesn't mind, GEQO has an Assert that doesn't like this. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 18, 2000 | |
| Committer | Tweak regressplans.sh to use any already-set PGOPTIONS. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 18, 2000 | |
| Committer | Repair mishandling of PRIMARY KEY declaration that references an inherited column, per bug report from Elphick 12/15/00. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 18, 2000 | |
| Committer | Clean up backend-exit-time cleanup behavior. Use on_shmem_exit callbacks to ensure that we have released buffer refcounts and so forth, rather than putting ad-hoc operations before (some of the calls to) proc_exit. Add commentary to discourage future hackers from repeating that mistake. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 18, 2000 | |
| Committer | Update type-coercion discussions to reflect current reality. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 17, 2000 | |
| Committer | Misc. cleanups. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 17, 2000 | |
| Committer | Outer join updates, miscellaneous polishing. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 17, 2000 | |
| Committer | Tweak select_common_type() to deal with possibility of multiple preferred types in a category --- it was taking the last preferred type among the inputs, rather than the first one as intended. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 17, 2000 | |
| Committer | Update some obsolete info about GEQO. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 16, 2000 | |
| Committer | A little wordsmithing in the pattern-matching section. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 16, 2000 | |
| Committer | Add note that COALESCE and NULLIF are shorthand forms of CASE. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 16, 2000 | |
| Committer | Clean up some bogosities in description of target lists. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 16, 2000 | |
| Committer | Restructure performance tips into a single chapter ('populating a database' was way too small to make a chapter). Add a section about using JOIN syntax to direct the planner. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 16, 2000 | |
| Committer | Make algorithm for resolving UNKNOWN function/operator inputs be insensitive to the order of arguments. Per pghackers discussion 12/10/00. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 15, 2000 | |
| Committer | Remove obsolete comment. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 15, 2000 | |
| Committer | Remove a few remaining vestiges of elog(WARN). | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 15, 2000 | |
| Committer | Planner speedup hacking. Avoid saving useless pathkeys, so that path comparison does not consider paths different when they differ only in uninteresting aspects of sort order. (We had a special case of this consideration for indexscans already, but generalize it to apply to ordered join paths too.) Be stricter about what is a canonical pathkey to allow faster pathkey comparison. Cache canonical pathkeys and dispersion stats for left and right sides of a RestrictInfo's clause, to avoid repeated computation. Total speedup will depend on number of tables in a query, but I see about 4x speedup of planning phase for a sample seven-table query. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 14, 2000 | |
| Committer | Change StoreCatalogInheritance() to work from a list of parent relation OIDs rather than names. Aside from being simpler and faster, this way doesn't blow up in the face of 'create temp table foo () inherits (foo)'. Which is a rather odd thing to do, but it seems some people want to. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 14, 2000 | |
| Committer | Fix thinko for case of outer join where inner table is empty: should output first outer tuple before advancing... | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 13, 2000 | |
| Committer | Cache eval cost of qualification expressions in RestrictInfo nodes to avoid repeated evaluations in cost_qual_eval(). This turns out to save a useful fraction of planning time. No change to external representation of RestrictInfo --- although that node type doesn't appear in stored rules anyway. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 12, 2000 | |
| Committer | Revise SELECT reference page for outer joins, subselect in FROM, ISO-compliant UNION/INTERSECT/EXCEPT. Revise discussion of rule rewriter to reflect new subselect-in-FROM implementation of views. Miscellaneous other cleanups. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 12, 2000 | |
| Committer | Links to CUBE, SEG contrib items | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 11, 2000 | |
| Committer | Gene Selkov's SEG datatype (GiST example code) | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 11, 2000 | |
| Committer | Gene Selkov's CUBE datatype (GiST example code) | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 11, 2000 | |
| Committer | Allow resultmap file to be missing, for use in contrib self-tests. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 11, 2000 | |
| Committer | Add Darwin-specific geometry test file. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 11, 2000 | |
| Committer | Tweak Darwin patch to get right include order. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 11, 2000 | |
| Committer | Darwin porting patches from Peter Bierman <bierman@apple.com> | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 11, 2000 | |
| Committer | Portability fix from Ryan Kirkpatrick's Alpha patches. I believe this is the only diff not accounted for by fmgr rewrite... | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 09, 2000 | |
| Committer | Suppress compiler warnings. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 09, 2000 | |
| Committer | Repair erroneous use of hashvarlena() for MACADDR, which is not a varlena type. (I did not force initdb, but you won't see the fix unless you do one.) Also, make sure all index support operators and functions are careful not to leak memory for toasted inputs; I had missed some hash and rtree support ops on this point before. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 08, 2000 | |
| Committer | Resurrect -F switch: it controls fsyncs again, though the fsyncs are mostly just on the WAL logfile nowadays. But if people want to disable fsync for performance, why should we say no? | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 08, 2000 | |
| Committer | Add missing copyright and RCS identification header. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 08, 2000 | |
| Committer | Remove error check that disallowed setval() on a sequence with cache value greater than one. The behavior this sought to disallow doesn't seem any less confusing than the other behaviors of cached sequences. Improve wording of some error messages, too. Update documentation accordingly. Also add an explanation that aborted transactions do not roll back their nextval() calls; this seems to be a FAQ, so it ought to be mentioned here... | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 08, 2000 | |
| Committer | Improve error message for erroneous use of 'opaque' as plperl argument or return type. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 08, 2000 | |
| Committer | Improve error message for erroneous use of 'opaque' as pltcl argument or return type. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 08, 2000 | |
| Committer | Improve error message for erroneous use of 'opaque' as plpgsql argument or return type. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 08, 2000 | |
| Committer | Change lpad() and rpad() to behave more Oracle-compatibly when target length is less than original string length. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 07, 2000 | |
| Committer | checkretval() failed to cope with an empty SQL function body. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 07, 2000 | |
| Committer | Make OVERLAPS operators conform to SQL92 spec regarding NULL handling. As I read it, the spec requires a non-null result in some cases where one of the inputs is NULL: specifically, if the other endpoint of that interval is between the endpoints of the other interval, then the result is known TRUE despite the missing endpoint. The spec could've been a lot simpler if they did not intend this behavior. I did not force an initdb for this change, but if you don't do one you'll still see the old strict-function behavior. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 07, 2000 | |
| Committer | Silence compiler warning. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 07, 2000 | |
| Committer | Silence compiler warning. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 07, 2000 | |
| Committer | Make application of FOR UPDATE to a view work exactly like the parser's transformForUpdate does: it should recurse into subqueries. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 07, 2000 | |
| Committer | transformForUpdate() mustn't assume rowMarks list is initially empty. It could be recursing into a sub-query where there was already a FOR UPDATE clause. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 07, 2000 | |
| Committer | Clean up handling of FOR UPDATE inside views and subselects ... make it work where we can (given that the executor only handles it at top level) and generate an error where we can't. Note that while the parser has been allowing views to say SELECT FOR UPDATE for a few weeks now, that hasn't actually worked until just now. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 06, 2000 | |
| Committer | Don't include miscadmin.h in elog.h, since the former is not part of the installed header file set. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 06, 2000 | |
| Committer | I've just seen what happens when the MEMORY_CONTEXT_CHECKING code fires an error at end of transaction ... and I did *not* like it. Reduce ERROR to NOTICE so that this situation doesn't cause an infinite loop. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 05, 2000 | |
| Committer | In SELECT FOR UPDATE, silently ignore null CTIDs, rather than generating an error as we used to. In an OUTER JOIN scenario, retrieving a null CTID from one of the input relations is entirely expected. We still want to lock the input rows from the other relations, so just ignore the null and keep going. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 05, 2000 | |
| Committer | From Stephan Szabo: I believe this should fix the issue that Philip Warner noticed about the check for unique constraints meeting the referenced keys of a foreign key constraint allowing the specification of a subset of a foreign key instead of rejecting it. I also added tests for a base case of this to the foreign key and alter table tests and patches for expected output. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 05, 2000 | |
| Committer | Add regress test case for INSERT ... SELECT in rules. | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 05, 2000 | |
| Committer | Repair breakage of rules containing INSERT ... SELECT actions, per bug report from Joel Burton. Turns out that my simple idea of turning the SELECT into a subquery does not interact well *at all* with the way the rule rewriter works. Really what we need to make INSERT ... SELECT work cleanly is to decouple targetlists from rangetables: an INSERT ... SELECT wants to have two levels of targetlist but only one rangetable. No time for that for 7.1, however, so I've inserted some ugly hacks to make the rewriter know explicitly about the structure of INSERT ... SELECT queries. Ugh :-( | master7.1beta2REL_19_STABLE7.1beta2REL_18_STABLE7.1beta2REL_17_STABLE7.1beta2REL_16_STABLE7.1beta2REL_15_STABLE7.1beta2REL_14_STABLE7.1beta2REL_13_STABLE7.1beta2+24 more | Dec 05, 2000 | |
| Committer | Fix bogus makefiles ... these didn't build on platforms that are sticky about being given accurate references to referenced libraries ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 04, 2000 | |
| Committer | Seems to have been missed in GetPgUserName updates. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 04, 2000 | |
| Committer | Eliminate some of the more blatant platform-dependencies ... it builds here now, anyway ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 04, 2000 | |
| Committer | Seems like make clean or make distclean should clean out contrib directories too, not only src and doc. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 04, 2000 | |
| Committer | Ensure that all uses of <ctype.h> functions are applied to unsigned-char values, whether the local char type is signed or not. This is necessary for portability. Per discussion on pghackers around 9/16/00. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 03, 2000 | |
| Committer | Update for new tests. These are extrapolations and will need to be confirmed correct on the relevant platforms. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 03, 2000 | |
| Committer | Update for new tests. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 03, 2000 | |
| Committer | Don't use 'private' as a parameter name in visible headers ... makes C++ very unhappy ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 03, 2000 | |
| Committer | Avoid memory leakage during regular COPY when outputting toasted values. COPY BINARY is still broken for toasted data, however. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 02, 2000 | |
| Committer | Avoid repeated detoasting (and possible memory leaks) when processing a toasted datum in VACUUM ANALYZE. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 02, 2000 | |
| Committer | Don't cause --enable-cassert to define COPY_PARSE_PLAN_TREES automatically anymore. That won't teach us anything new for the rest of this release cycle, so it seems better to keep the --assert environment more like the non-assert environment for beta. I'm going to leave CLOBBER_FREED_MEMORY and MEMORY_CONTEXT_CHECKING turned on by --enable-cassert for now, however. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 02, 2000 | |
| Committer | Make tuple receive/print routines TOAST-aware. Formerly, printtup would leak memory when printing a toasted attribute, and printtup_internal didn't work at all... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 01, 2000 | |
| Committer | Fix inadequate tree-walking code in exec_eval_clear_fcache. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 01, 2000 | |
| Committer | Make elog() switch to ErrorContext while invoking libpq output routines, since those routines may do palloc's. We want to be fairly sure we can send the error message to the client even under low-memory conditions. That's what we stashed away 8K in ErrorContext for, after all ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 01, 2000 | |
| Committer | Pursuant to a pghackers discussion back around 11-Jul-00, get rid of aset.c's not-very-good handling of mid-size allocation requests. Do everything via either the "small" case (chunk size rounded up to power of 2) or the "large" case (pass it straight off to malloc()). Increase the number of freelists a little to set the breakpoint between these behaviors at 8K. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 01, 2000 | |
| Committer | It seems appropriate that the extended MEMORY_CONTEXT_CHECKING code immediately uncovered three of Karel's own bugs, including a routine that scribbled on its input (naughty naughty!) | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 01, 2000 | |
| Committer | Clean up MEMORY_CONTEXT_CHECKING code, and apply it more thoroughly. Also, apply Karel Zak's patch to recycle residual space in an exhausted allocation block. (Bet you thought I'd forgot about that, Karel?) | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Dec 01, 2000 |