Filter:

Commits in December 2000

Commits103 commits
0Author
103Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterMark geometric 'overlaps' operators (&&) as self-commutative.
19e68b50
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
No linked threadDec 31, 2000
CommitterFix typo in error message.
8972088d
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
No linked threadDec 31, 2000
CommitterDon'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.
52522850
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
No linked threadDec 31, 2000
CommitterOn further thought, we need a defense against empty PGPORT here too.
e41b8a0f
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
No linked threadDec 31, 2000
CommitterIgnore PGPORT environment variable if it is an empty string.
45f92179
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
No linked threadDec 31, 2000
CommitterReverse #if test to be defined(__osf__) rather than not-any-of-a-lot- of-others.
ff6012e2
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
No linked threadDec 31, 2000
CommitterNetBSD/Alpha porting fixes from tom@minnesota.com.
fada8ee4
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
No linked threadDec 31, 2000
CommitterBe more careful about the difference between signed and unsigned ints. Bug is revealed by OID regress test on 64-bit platforms.
4723b2b9
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
No linked threadDec 30, 2000
CommitterApparently, special float8 comparison file for Alpha is only needed when using vendor cc, not gcc.
ee6a9168
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
No linked threadDec 30, 2000
CommitterClean 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.
f83b2215
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
No linked threadDec 30, 2000
CommitterParanoia 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.
c23851bb
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
No linked threadDec 30, 2000
CommitterRemove obsolete and unportable enable_plpgsql script. createlang has been the supported and documented way to do this for a long time...
2153d1c1
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
No linked threadDec 30, 2000
Committercolumn and tuple numbers should be int not size_t.
aa44078e
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
No linked threadDec 29, 2000
CommitterFix 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.
7f60b81e
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
No linked threadDec 29, 2000
Committerstamp-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.
b05b9819
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
No linked threadDec 29, 2000
CommitterLet's try this again on accepting the correct range of Oid input values for 64-bit platforms ...
c996c7f5
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
No linked threadDec 28, 2000
CommitterCorrect erroneous documentation of PQsetnonblocking().
0a8da825
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
No linked threadDec 28, 2000
CommitterFix 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.
8609d4ab
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
No linked threadDec 27, 2000
CommitterImprove comments.
e58badfb
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
No linked threadDec 23, 2000
CommitterCompute reasonable cost and output-row-count estimates for LIMIT plan nodes.
7df721af
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
No linked threadDec 23, 2000
CommitterReplace 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.
a4127498
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
No linked threadDec 23, 2000
CommitterSmall 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.)
90f42847
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
No linked threadDec 22, 2000
CommitterRepair not-too-well-thought-out code to do rangechecking of OIDs on 64-bit machines. Also, make oidvectorin use the same code as oidin.
0db1a951
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
No linked threadDec 22, 2000
CommitterImprove error message for case where DROP TABLE is rejected because table has a child table.
046848c2
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
No linked threadDec 22, 2000
CommitterAdd '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 ...
04b31609
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
No linked threadDec 22, 2000
CommitterFix broken markup.
f4eef667
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
No linked threadDec 22, 2000
CommitterChange 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.
61784c54
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
No linked threadDec 22, 2000
CommitterClean up CREATE TYPE/OPERATOR/AGGREGATE productions, so that parser will not accept types named with operator names or vice versa.
317215fc
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
No linked threadDec 22, 2000
CommitterRevise 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.
6cc842ab
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
No linked threadDec 22, 2000
CommitterFix 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.
0e952cdb
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
No linked threadDec 21, 2000
CommitterRemove multi.c and single.c, which have been dead code for over two years.
e6e9e18e
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
No linked threadDec 20, 2000
CommitterPrevent 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.
39b547f4
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
No linked threadDec 20, 2000
CommitterMention fallback case for type coercion in description of function resolution procedure.
e34d442d
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
No linked threadDec 19, 2000
CommitterDocument the array_dims() function, and make some other small improvements in the docs for arrays.
e4eb9104
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
No linked threadDec 18, 2000
CommitterEnsure 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.
5491233f
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
No linked threadDec 18, 2000
CommitterMake 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.
97cfb9d6
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
No linked threadDec 18, 2000
CommitterTweak regressplans.sh to use any already-set PGOPTIONS.
c77e2e42
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
No linked threadDec 18, 2000
CommitterRepair mishandling of PRIMARY KEY declaration that references an inherited column, per bug report from Elphick 12/15/00.
42d5e34e
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
No linked threadDec 18, 2000
CommitterClean 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.
a626b78c
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
No linked threadDec 18, 2000
CommitterUpdate type-coercion discussions to reflect current reality.
7b9fe968
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
No linked threadDec 17, 2000
CommitterMisc. cleanups.
c501e9aa
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
No linked threadDec 17, 2000
CommitterOuter join updates, miscellaneous polishing.
96ff0cb0
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
No linked threadDec 17, 2000
CommitterTweak 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.
cfa4d4d0
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
No linked threadDec 17, 2000
CommitterUpdate some obsolete info about GEQO.
0c2629ef
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
No linked threadDec 16, 2000
CommitterA little wordsmithing in the pattern-matching section.
6a0f486a
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
No linked threadDec 16, 2000
CommitterAdd note that COALESCE and NULLIF are shorthand forms of CASE.
d316f222
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
No linked threadDec 16, 2000
CommitterClean up some bogosities in description of target lists.
cf00d593
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
No linked threadDec 16, 2000
CommitterRestructure 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.
ad4fd77a
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
No linked threadDec 16, 2000
CommitterMake algorithm for resolving UNKNOWN function/operator inputs be insensitive to the order of arguments. Per pghackers discussion 12/10/00.
7d6af50f
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
No linked threadDec 15, 2000
CommitterRemove obsolete comment.
b260c18c
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
No linked threadDec 15, 2000
CommitterRemove a few remaining vestiges of elog(WARN).
352cd1f1
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
No linked threadDec 15, 2000
CommitterPlanner 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.
ea166f11
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
No linked threadDec 14, 2000
CommitterChange 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.
468a9704
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
No linked threadDec 14, 2000
CommitterFix thinko for case of outer join where inner table is empty: should output first outer tuple before advancing...
78099231
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
No linked threadDec 13, 2000
CommitterCache 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.
17b843d6
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
No linked threadDec 12, 2000
CommitterRevise 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.
1045304a
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
No linked threadDec 12, 2000
CommitterLinks to CUBE, SEG contrib items
c4e3b0c3
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
No linked threadDec 11, 2000
CommitterGene Selkov's SEG datatype (GiST example code)
a3694b42
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
No linked threadDec 11, 2000
CommitterGene Selkov's CUBE datatype (GiST example code)
9892ddf5
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
No linked threadDec 11, 2000
CommitterAllow resultmap file to be missing, for use in contrib self-tests.
b9110b97
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
No linked threadDec 11, 2000
CommitterAdd Darwin-specific geometry test file.
70c5fdd2
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
No linked threadDec 11, 2000
CommitterTweak Darwin patch to get right include order.
2cf8064a
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
No linked threadDec 11, 2000
CommitterDarwin porting patches from Peter Bierman <bierman@apple.com>
41fe2a2a
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
No linked threadDec 11, 2000
CommitterPortability fix from Ryan Kirkpatrick's Alpha patches. I believe this is the only diff not accounted for by fmgr rewrite...
8fdd794d
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
No linked threadDec 09, 2000
CommitterSuppress compiler warnings.
228c1e74
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
No linked threadDec 09, 2000
CommitterRepair 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.
376784cf
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
No linked threadDec 08, 2000
CommitterResurrect -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?
fb47385f
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
No linked threadDec 08, 2000
CommitterAdd missing copyright and RCS identification header.
90bdb64b
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
No linked threadDec 08, 2000
CommitterRemove 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...
b44e46cf
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
No linked threadDec 08, 2000
CommitterImprove error message for erroneous use of 'opaque' as plperl argument or return type.
8d7c0851
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
No linked threadDec 08, 2000
CommitterImprove error message for erroneous use of 'opaque' as pltcl argument or return type.
6e646c73
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
No linked threadDec 08, 2000
CommitterImprove error message for erroneous use of 'opaque' as plpgsql argument or return type.
74c14995
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
No linked threadDec 08, 2000
CommitterChange lpad() and rpad() to behave more Oracle-compatibly when target length is less than original string length.
2a7a75ee
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
No linked threadDec 07, 2000
Committercheckretval() failed to cope with an empty SQL function body.
cbc5f4f1
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
No linked threadDec 07, 2000
CommitterMake 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.
821f4673
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
No linked threadDec 07, 2000
CommitterSilence compiler warning.
5cf81b3c
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
No linked threadDec 07, 2000
CommitterSilence compiler warning.
06dde51e
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
No linked threadDec 07, 2000
CommitterMake application of FOR UPDATE to a view work exactly like the parser's transformForUpdate does: it should recurse into subqueries.
7711e40b
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
No linked threadDec 07, 2000
CommittertransformForUpdate() mustn't assume rowMarks list is initially empty. It could be recursing into a sub-query where there was already a FOR UPDATE clause.
0a844e84
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
No linked threadDec 07, 2000
CommitterClean 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.
73d2a359
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
No linked threadDec 06, 2000
CommitterDon't include miscadmin.h in elog.h, since the former is not part of the installed header file set.
5fb10222
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
No linked threadDec 06, 2000
CommitterI'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.
a0f86363
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
No linked threadDec 05, 2000
CommitterIn 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.
614d951a
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
No linked threadDec 05, 2000
CommitterFrom 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.
981a7d32
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
No linked threadDec 05, 2000
CommitterAdd regress test case for INSERT ... SELECT in rules.
5ce8ab96
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
No linked threadDec 05, 2000
CommitterRepair 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 :-(
a51f004d
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
No linked threadDec 05, 2000
CommitterFix bogus makefiles ... these didn't build on platforms that are sticky about being given accurate references to referenced libraries ...
d9466046
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 04, 2000
CommitterSeems to have been missed in GetPgUserName updates.
74b8fe17
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 04, 2000
CommitterEliminate some of the more blatant platform-dependencies ... it builds here now, anyway ...
7a4cc54e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 04, 2000
CommitterSeems like make clean or make distclean should clean out contrib directories too, not only src and doc.
2bf2ee78
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 04, 2000
CommitterEnsure 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.
a27b691e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 03, 2000
CommitterUpdate for new tests. These are extrapolations and will need to be confirmed correct on the relevant platforms.
4d2a5065
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 03, 2000
CommitterUpdate for new tests.
f3e98844
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 03, 2000
CommitterDon't use 'private' as a parameter name in visible headers ... makes C++ very unhappy ...
68ed2963
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 03, 2000
CommitterAvoid memory leakage during regular COPY when outputting toasted values. COPY BINARY is still broken for toasted data, however.
5e3bc5eb
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 02, 2000
CommitterAvoid repeated detoasting (and possible memory leaks) when processing a toasted datum in VACUUM ANALYZE.
77698e11
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 02, 2000
CommitterDon'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.
079c60ab
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 02, 2000
CommitterMake tuple receive/print routines TOAST-aware. Formerly, printtup would leak memory when printing a toasted attribute, and printtup_internal didn't work at all...
217d1566
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 01, 2000
CommitterFix inadequate tree-walking code in exec_eval_clear_fcache.
f5371fee
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 01, 2000
CommitterMake 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 ...
08ede423
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 01, 2000
CommitterPursuant 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.
a49436d7
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 01, 2000
CommitterIt 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!)
eb743d0f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 01, 2000
CommitterClean 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?)
dd2b56d6
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadDec 01, 2000