Filter:

Commits in January 2001

Commits95 commits
0Author
95Committer
0Reviewer
0Reported by
0Co-author
CreditCommitBranchesThread(s)Committed
CommitterClean up handling of tuple descriptors so that result-tuple descriptors allocated by plan nodes are not leaked at end of query. This doesn't really matter for normal queries, but it sure does for queries invoked repetitively inside SQL functions. Clean up some other grotty code associated with tupdescs, and fix a few other memory leaks exposed by tests with simple SQL functions.
0d54d6ac
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 29, 2001
CommitterFix failure to create sequences for more than one SERIAL column in a table.
80caa741
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterLooks like I broke cases involving combinations of deferred update/delete triggers ... oops ... but the regress tests should have covered this ...
a6f0adbe
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterDon't crash if subquery appears multiple times in jointree. This should not happen anyway, but let's try not to get completely confused if it does (due to rewriter bugs or whatever).
f44639e1
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterRepair bug reported by Huxton, 1/24/01. We need to include a rule's original table ('OLD' table) in its join tree if OLD is referenced by either the rule action, the rule qual, or the original query qual that will be added to the rule action. However, we only want one instance of the original table to be included; so beware of the possibility that the rule action already has a jointree entry for OLD.
352871ac
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterRefuse to try to attach a condition to a NOTIFY or other utility statement, rather than coredumping (as prior 7.1 code did) or silently dropping the condition (as 7.0 did). This is annoying but there doesn't seem to be any good way to fix it, short of a major querytree restructuring.
c9c8d53d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterSuppress coredump when EXPLAINing query that is rewritten to include a NOTIFY.
c1a63c94
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterRe-read Unix-socket lock file every so often (every CheckPoint interval, actually) to ensure that its file access time doesn't get old enough to tempt a /tmp directory cleaner to remove it. Still another reason we should never have put the sockets in /tmp in the first place ...
1dc30510
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 27, 2001
CommitterChange float8-to-int8 conversion to round to nearest, rather than truncating to integer. Remove regress test that checks whether 4567890123456789 can be converted to float without loss; since that's 52 bits, it's on the hairy edge of failing with IEEE float8s, and indeed rint seems to give platform-dependent results for it.
b78d1bed
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 26, 2001
Committergcc complains about improperly terminated comment.
7edafafd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 26, 2001
CommitterSpecial case in ProcSleep() wasn't sufficiently general: must check to see if we shouldn't block whenever we insert ourselves anywhere before the end of the queue, not only at the front.
f433d0d3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 26, 2001
CommitterWhoops, forgot to do ProcLockWakeup() after deadlock checker rearranges wait queues.
211f5afd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 25, 2001
CommitterRe-implement deadlock detection and resolution, per design notes posted to pghackers on 18-Jan-01.
a05eae02
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 25, 2001
CommitterMake functional index copy attstorage from the column data type, rather than forcing 'plain'. This probably does not matter right now, but I think it needs to be consistent with the regular (not-functional) index case, where attstorage is copied from the underlying table. Clean up some other dead and infelicitous code too.
997ee516
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 24, 2001
CommitterNarrow scope of critical section, per discussion 1/19/01.
c654c69c
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterDo _bt_wrtbuf() outside critical section, per discussion with Vadim 1/19.
4e27b308
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterGive 'a_expr ::= a_expr Op' production a slightly lower precedence than Op, so that the sequence 'a_expr Op Op a_expr' will be parsed as a_expr Op (Op a_expr) not (a_expr Op) Op a_expr as formerly. In other words, prefer treating user-defined operators as prefix operators to treating them as postfix operators, when there is an ambiguity. Also clean up a couple of other infelicities in production priority assignment --- for example, BETWEEN wasn't being given the intended priority, but that of AND.
f69ff0c4
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterFix all the places that called heap_update() and heap_delete() without bothering to check the return value --- which meant that in case the update or delete failed because of a concurrent update, you'd not find out about it, except by observing later that the transaction produced the wrong outcome. There are now subroutines simple_heap_update and simple_heap_delete that should be used anyplace that you're not prepared to do the full nine yards of coping with concurrent updates. In practice, that seems to mean absolutely everywhere but the executor, because *noplace* else was checking.
786f1a59
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterRemove no-longer-needed restriction against referencing system attributes in a FieldSelect node --- all the places that manipulate these work just fine with system attribute numbers. OK, it's a new feature, so shoot me ...
b686fb5b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterImprove realloc() per idea from Karel Zak --- if chunk to be enlarged is at end of its block, maybe we can enlarge it in-place.
728b0aa2
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 23, 2001
CommitterRemove rangechecks on errno; just call strerror unconditionally. This eliminates a raft of portability issues, including whether sys_nerr exists, whether the platform has any valid negative errnos, etc. The downside is minimal: errno shouldn't ever contain an invalid value anyway, and if it does, reasonably modern versions of strerror will not choke. This rangecheck idea seemed good at the time, but it's clearly a net loss, and I apologize to all concerned for having ever put it in.
e9c936ff
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterClean up lockmanager data structures some more, in preparation for planned rewrite of deadlock checking. Lock holder objects are now reachable from the associated LOCK as well as from the owning PROC. This makes it practical to find all the processes holding a lock, as well as all those waiting on the lock. Also, clean up some of the grottier aspects of the SHMQueue API, and cause the waitProcs list to be stored in the intuitive direction instead of the nonintuitive one. (Bet you didn't know that the code followed the 'prev' link to get to the next waiting process, instead of the 'next' link. It doesn't do that anymore.)
e84c4290
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterMinor fixes.
7e091913
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterClean up per-tuple memory leaks in trigger firing and plpgsql expression evaluation.
c9fe1283
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterAll the global memory contexts should be DLLIMPORT, if any are.
59a3a401
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 22, 2001
CommitterDeal with C++ incompatibility of sys_nerr declaration by taking it out of c.h altogether, and putting it into the only places that use it (elog.c and exc.c), instead. Modify these routines to check for a NULL or empty-string return from strerror, too, since some platforms define strerror to return empty string for unknown errors (what a useless definition that is ...). Clean up some cruft in ExcPrint while at it.
023a48b8
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 21, 2001
CommitterGet rid of sunos4-only strerror() macro, and arrange to use the implementation in backend/port/strerror.c if configure finds no strerror in libc, same as we do for snprintf and inet_aton.
37fd1984
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterRemove no-longer-used STRERROR2 config symbol.
531cd44f
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterGet rid of initdb -t bugs by the simple expedient of getting rid of initdb -t. This option is obsoleted by 7.1's ability to drop and recreate template1 during normal operation.
a2405d55
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterGive a good error message for what's likely to be a common syntax error, namely omitting the alias clause for a sub-SELECT in FROM.
1a02edae
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterStill further tweaking of s_lock assembler: do not assume that leading whitespace is unimportant in assembly code. Also, move VAX definition of typedef slock_t to port header files to be like all the other ports. Note that netbsd.h and openbsd.h are now identical, and I rather think that freebsd.h is broken in the places where it doesn't agree --- but I'll leave it to the freebsders to look at that.
a7ea9f46
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 20, 2001
CommitterMake critical sections (elog->crash) and interrupt holdoff sections into distinct concepts, per recent discussion on pghackers.
6ce0ed28
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterMake pqexpbuffer a little more robust, per bug report from Heinz Ekker.
6bb6209b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterSuppress compiler warning in MULTIBYTE code.
86a2c259
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterSuppress compiler warning in MULTIBYTE case.
bdb72d87
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterSuppress unused-variable warning in non-Assert compilations.
c78e1954
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterUpdate docs to explain that 7.1 locks down LC_COLLATE and LC_CTYPE at initdb time. A few copy-editing cleanups, too.
1073123b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 19, 2001
CommitterFix performance issue with qualifications on VIEWs: outer query should try to push restrictions on the view down into the view subquery, so that they can become indexscan quals or what-have-you rather than being applied at the top level of the subquery. 7.0 and before were able to do this, though in a much klugier way, and I'd hate to have anyone complaining that 7.1 is stupider than 7.0 ...
b06fbc7a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 18, 2001
CommitterRemove bogus backslashes in sed command.
4c4f305b
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 16, 2001
CommitterOops, I had managed to break query-cancel-while-waiting-for-lock.
dae52bf3
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 16, 2001
CommitterRename fields of lock and lockholder structures to something a tad less confusing, and clean up documentation.
64e6c608
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 16, 2001
CommitterShow intarray contrib module in contrib/README and Makefile.
2dbc457e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 15, 2001
CommitterFix problems with parentheses around sub-SELECT --- for the last time, I hope. I finally realized that we were going at it backwards: when there are excess parentheses, they need to be treated as part of the sub-SELECT, not as part of the surrounding expression. Although either choice yields an unambiguous grammar, only this way produces a grammar that is LALR(1). With the old approach we were guaranteed to fail on either 'SELECT (((SELECT 2)) + 3)' or 'SELECT (((SELECT 2)) UNION SELECT 2)' depending on which way we resolve the initial shift/reduce conflict. With the new way, the same reduction track can be followed in both cases until we have advanced far enough to know whether we are done with the sub-SELECT or not.
3db4056e
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 15, 2001
CommitterTweak heap_update/delete so that we do not hold the buffer context lock on the old tuple's page while we are doing TOAST pushups.
efd6cade
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 15, 2001
CommitterMinor coding cleanups.
0b5d194a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterAnother go-round on making GetRawDatabaseInfo behave as well as it can, given the fundamental restriction of not looking at transaction commit data in pg_log. Use code that is actually based on tqual.c rather than ad-hoc tests. Also write the tuple fetch loop using standard access macros rather than ad-hoc code.
a904181a
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
Committerpg_database's datpath column must not be marked toastable, because GetRawDatabaseInfo() won't cope with a compressed path spec (much less a moved-off one). I'm not going to force an initdb for this change, because it's noncritical --- we're not actually using datpath at all right now. But it seems a good idea to apply the fix while I'm thinking about it.
8a0c9b17
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterNeed to do BufferSync at end of DROP DATABASE as well as CREATE DATABASE. Otherwise, newly connecting backends will still think the deleted DB is valid, and will generate unexpected error messages.
a3cac3a0
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterMake aclcontains() do something that's at least vaguely reasonable: it now returns true if the aclitem argument exactly matches any one of the elements of the aclitem[] argument. Per complaint from Wolff 1/10/01.
c0f06994
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterRestructure backend SIGINT/SIGTERM handling so that 'die' interrupts are treated more like 'cancel' interrupts: the signal handler sets a flag that is examined at well-defined spots, rather than trying to cope with an interrupt that might happen anywhere. See pghackers discussion of 1/12/01.
36839c19
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 14, 2001
CommitterBack-patch fix for crash in GetRawDatabaseInfo(), just in case someone else needs it.
7bfec168
REL7_0_PATCHESunreleased
No linked threadJan 14, 2001
CommitterRelax test on typmod matching between a table and its proposed ON SELECT rule. Needed to avoid failure when reloading a 7.0 pg_dump of a view that has a NUMERIC column.
160675ec
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 13, 2001
CommitterAdd more critical-section calls: all code sections that hold spinlocks are now critical sections, so as to ensure die() won't interrupt us while we are munging shared-memory data structures. Avoid insecure intermediate states in some code that proc_exit will call, like palloc/pfree. Rename START/END_CRIT_CODE to START/END_CRIT_SECTION, since that seems to be what people tend to call them anyway, and make them be called with () like a function call, in hopes of not confusing pg_indent. I doubt that this is sufficient to make SIGTERM safe anywhere; there's just too much code that could get invoked during proc_exit().
6162432d
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 12, 2001
CommitterBring CREATE TABLE syntax synopsis into line with reality; update a bunch of old or poorly-worded documentation.
359459a4
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 12, 2001
CommitterPreserve constraints and column defaults during CLUSTER. Wish they were all this easy ...
565639cd
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 12, 2001
CommitterDo The Right Thing (tm) if asked to cluster a temp table. Previous code would cluster, but table would magically lose its tempness.
412cb388
masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more
No linked threadJan 10, 2001
CommitterFix oversight in planning of GROUP queries: when an expression is used as both a GROUP BY item and an output expression, the top-level Group node should just copy up the evaluated expression value from its input, rather than re-evaluating the expression. Aside from any performance benefit this might offer, this avoids a crash when there is a sub-SELECT in said expression.
07c741e6
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 09, 2001
CommitterFix small but critical typo ...
4cb0950c
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 09, 2001
CommitterPrevent vacuumdb from trying to vacuum template0.
f19238e0
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterDocument the system attributes ctid and tableoid, which for some reason were never yet mentioned anywhere in our documentation. Improve explanations of the other system attributes, too.
10fb290a
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterDocument that we don't support ORDER BY with general expressions on the output of UNION/INTERSECT/EXCEPT.
6334ef86
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
Committercheck for failure after vacuuming each DB, not only the last one.
bf74477b
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterAdd some debugging support code (ifdef'd out in normal use).
b95f81a5
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterLockBuffer should not elog while holding buffer's cntx_lock.
e2586c3c
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterMake outfuncs/readfuncs treat OIDs properly as unsigned values. Clean up inconsistent coding practices for handling Index values and booleans, too.
1112a2a0
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 08, 2001
CommitterCorrect nasty error in heap_update: it was releasing the buffer refcount before calling RelationInvalidateHeapTuple(), which is bad because the latter needs to look at the tuple data, which is in the shared disk buffer. If another backend manages to recycle the buffer while this is going on, we will compute the wrong hashindex for the tuple or maybe even crash outright. Must hold buffer refcount until afterwards. (This bug is not in 7.0.*; seems to be have introduced during WAL changes.)
a4ddbbd1
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 07, 2001
CommitterClear QueryCancel and ProcDiePending at start of proc_exit, to ensure that leftover cancel/die requests cannot interfere with exit activities.
542b7c64
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 07, 2001
CommitterFix recent breakage of query-cancel logic, see my pghackers message of 6 Jan 2001 21:55.
cb7ce7d0
master7.1beta3REL_19_STABLE7.1beta3REL_18_STABLE7.1beta3REL_17_STABLE7.1beta3REL_16_STABLE7.1beta3REL_15_STABLE7.1beta3REL_14_STABLE7.1beta3REL_13_STABLE7.1beta3+24 more
No linked threadJan 07, 2001
CommitterResultmap updates for OpenBSD, per report from bpalmer@crimelabs.net.
4ced15ec
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 threadJan 07, 2001
CommitterModify readfuncs so that recursive use of stringToNode will not crash and burn. Just for added luck, change reading of CONST nodes so that we do not need to consult pg_type rows while reading them; this means that no database access occurs during stringToNode. This requires changing the order in which const-node fields are written, which means an initdb is forced.
4057b64f
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 threadJan 07, 2001
CommitterClean up checking of relkind for ALTER TABLE and LOCK TABLE commands. Disallow cases like adding constraints to sequences :-(, and eliminate now-unnecessary search of pg_rewrite to decide if a relation is a view.
14022014
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 threadJan 07, 2001
CommitterLog memory context stats to stderr when reporting a 'Memory exhausted' error, so as to provide a starting point for debugging.
deb21f0f
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 threadJan 06, 2001
CommitterFix memory leak in relcache handling of rules: allocate rule parsetrees in per-entry sub-memory-context, where they were supposed to go, rather than in CacheMemoryContext where the code was putting them. Must've suffered a severe brain fade when I wrote this :-(
e69b8d46
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 threadJan 06, 2001
CommitterNo need for screen_size to be static.
24a4aff6
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 threadJan 06, 2001
CommitterBring CREATE RULE reference page into some semblance of agreement with what's actually implemented.
96bd67f6
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 threadJan 06, 2001
CommitterFix NOT NULL option for plpgsql variables (doesn't look like it could ever have worked...)
682b1289
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 threadJan 06, 2001
CommitterFix misplaced strdup(), which could lead to error messages referencing deallocated memory later on.
0ad5e437
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 threadJan 06, 2001
CommitterRename and document some invalidation routines to make it clearer that they don't themselves flush any cache entries, only add to to-do lists that will be processed later.
81d08fcf
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 threadJan 05, 2001
CommitterRemove not-really-standard implementation of CREATE TABLE's UNDER clause, and revert documentation to describe the existing INHERITS clause instead, per recent discussion in pghackers. Also fix implementation of SQL_inheritance SET variable: it is not cool to look at this var during the initial parsing phase, only during parse_analyze(). See recent bug report concerning misinterpretation of date constants just after a SET TIMEZONE command. gram.y really has to be an invariant transformation of the query string to a raw parsetree; anything that can vary with time must be done during parse analysis.
2fb6cc90
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 threadJan 05, 2001
CommitterDisallow creation of a child table by a user who does not own the parent table, per pghackers discussion around 22-Dec-00.
e62c38d0
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 threadJan 05, 2001
CommitterBack-patch fix for 'btree: failed to add item to the page in _bt_sort (2)' failure during index creation. This problem should be gone in current sources, but I just thought I'd commit the 7.0.* patch in case anyone else needs it.
de9b43f3
REL7_0_PATCHESunreleased
No linked threadJan 04, 2001
CommitterClean up some unnecessary fragility in EXECUTE command.
afeb8c48
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 threadJan 04, 2001
CommitterRepair guaranteed core dump in SPI_exec(). Guess this routine wasn't used before ...
f9d6ffc5
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 threadJan 04, 2001
Committerpg_dump failed to handle backslashes embedded in function definitions (and most other places where it needed to output a string literal, too, except for data INSERT statements). Per bug report from Easter, 12/1/00.
ea608bfd
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 threadJan 04, 2001
CommitterFix breakage of rules using NOTIFY actions, per bug report and patch from sergiop@sinectis.com.ar.
60500d58
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 threadJan 03, 2001
CommitterNew file format for COPY BINARY, in accordance with pghackers discussions of early December 2000. COPY BINARY is now TOAST-safe.
676cf18c
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 threadJan 03, 2001
CommitterMakeRetrieveViewRuleName was scribbling on memory that didn't belong to it. Bad dog.
8fd2e269
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 threadJan 03, 2001
CommitterDocument tuple ordering differences as a possible cause of regression test 'failures'.
3bdadd04
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 threadJan 02, 2001
CommitterClean up non-reentrant interface for hash_seq/HashTableWalk, so that starting a new hashtable search no longer clobbers any other search active anywhere in the system. Fix RelationCacheInvalidate() so that it will not crash or go into an infinite loop if invoked recursively, as for example by a second SI Reset message arriving while we are still processing a prior one.
1b8a219e
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 threadJan 02, 2001
CommitterTweak temporary-installation setup so that it doesn't break when the configured install --prefix begins with /data/...
25d88e4c
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 threadJan 02, 2001
CommitterUpdate geometry-alpha-precision.out per reports from Brent Verner and Adriaan Joubert.
144ec3c1
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 threadJan 01, 2001
CommitterDefine HAVE_LIBZ only if we detect <zlib.h> as well as libz.a/.so. Otherwise, build falls over on a machine with a non-devel RPM of libz.
4300e290
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 threadJan 01, 2001
CommitterCLUSTER forgot to create a TOAST table for the clustered relation.
ad0169b1
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 threadJan 01, 2001
CommitterEnsure attcacheoff is written out as -1 when writing pg_attribute tuples for a relation. Needed to prevent Assert failure in CLUSTER.
9315ff55
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 threadJan 01, 2001
CommitterUpdate comment.
473763e6
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 threadJan 01, 2001