Commits in January 2001
Commits95 commits
0Author
95Committer
0Reviewer
0Reported by
0Co-author
| Credit | Commit | Branches | Thread(s) | Committed |
|---|---|---|---|---|
| Committer | Clean 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 29, 2001 | |
| Committer | Fix failure to create sequences for more than one SERIAL column in a table. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 27, 2001 | |
| Committer | Looks like I broke cases involving combinations of deferred update/delete triggers ... oops ... but the regress tests should have covered this ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 27, 2001 | |
| Committer | Don'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). | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 27, 2001 | |
| Committer | Repair 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 27, 2001 | |
| Committer | Refuse 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 27, 2001 | |
| Committer | Suppress coredump when EXPLAINing query that is rewritten to include a NOTIFY. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 27, 2001 | |
| Committer | Re-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 ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 27, 2001 | |
| Committer | Change 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 26, 2001 | |
| Committer | gcc complains about improperly terminated comment. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 26, 2001 | |
| Committer | Special 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 26, 2001 | |
| Committer | Whoops, forgot to do ProcLockWakeup() after deadlock checker rearranges wait queues. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 25, 2001 | |
| Committer | Re-implement deadlock detection and resolution, per design notes posted to pghackers on 18-Jan-01. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 25, 2001 | |
| Committer | Make 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 24, 2001 | |
| Committer | Narrow scope of critical section, per discussion 1/19/01. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 23, 2001 | |
| Committer | Do _bt_wrtbuf() outside critical section, per discussion with Vadim 1/19. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 23, 2001 | |
| Committer | Give '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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 23, 2001 | |
| Committer | Fix 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 23, 2001 | |
| Committer | Remove 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 ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 23, 2001 | |
| Committer | Improve realloc() per idea from Karel Zak --- if chunk to be enlarged is at end of its block, maybe we can enlarge it in-place. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 23, 2001 | |
| Committer | Remove 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 22, 2001 | |
| Committer | Clean 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.) | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 22, 2001 | |
| Committer | Minor fixes. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 22, 2001 | |
| Committer | Clean up per-tuple memory leaks in trigger firing and plpgsql expression evaluation. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 22, 2001 | |
| Committer | All the global memory contexts should be DLLIMPORT, if any are. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 22, 2001 | |
| Committer | Deal 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 21, 2001 | |
| Committer | Get 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 20, 2001 | |
| Committer | Remove no-longer-used STRERROR2 config symbol. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 20, 2001 | |
| Committer | Get 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 20, 2001 | |
| Committer | Give 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 20, 2001 | |
| Committer | Still 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 20, 2001 | |
| Committer | Make critical sections (elog->crash) and interrupt holdoff sections into distinct concepts, per recent discussion on pghackers. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 19, 2001 | |
| Committer | Make pqexpbuffer a little more robust, per bug report from Heinz Ekker. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 19, 2001 | |
| Committer | Suppress compiler warning in MULTIBYTE code. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 19, 2001 | |
| Committer | Suppress compiler warning in MULTIBYTE case. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 19, 2001 | |
| Committer | Suppress unused-variable warning in non-Assert compilations. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 19, 2001 | |
| Committer | Update docs to explain that 7.1 locks down LC_COLLATE and LC_CTYPE at initdb time. A few copy-editing cleanups, too. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 19, 2001 | |
| Committer | Fix 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 ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 18, 2001 | |
| Committer | Remove bogus backslashes in sed command. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 16, 2001 | |
| Committer | Oops, I had managed to break query-cancel-while-waiting-for-lock. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 16, 2001 | |
| Committer | Rename fields of lock and lockholder structures to something a tad less confusing, and clean up documentation. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 16, 2001 | |
| Committer | Show intarray contrib module in contrib/README and Makefile. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 15, 2001 | |
| Committer | Fix 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 15, 2001 | |
| Committer | Tweak 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 15, 2001 | |
| Committer | Minor coding cleanups. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 14, 2001 | |
| Committer | Another 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 14, 2001 | |
| Committer | pg_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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 14, 2001 | |
| Committer | Need 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 14, 2001 | |
| Committer | Make 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 14, 2001 | |
| Committer | Restructure 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 14, 2001 | |
| Committer | Back-patch fix for crash in GetRawDatabaseInfo(), just in case someone else needs it. | REL7_0_PATCHESunreleased | Jan 14, 2001 | |
| Committer | Relax 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. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 13, 2001 | |
| Committer | Add 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(). | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 12, 2001 | |
| Committer | Bring CREATE TABLE syntax synopsis into line with reality; update a bunch of old or poorly-worded documentation. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 12, 2001 | |
| Committer | Preserve constraints and column defaults during CLUSTER. Wish they were all this easy ... | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 12, 2001 | |
| Committer | Do The Right Thing (tm) if asked to cluster a temp table. Previous code would cluster, but table would magically lose its tempness. | masterunreleasedREL_19_STABLEunreleasedREL_18_STABLEunreleasedREL_17_STABLEunreleasedREL_16_STABLEunreleasedREL_15_STABLEunreleasedREL_14_STABLEunreleasedREL_13_STABLEunreleased+24 more | Jan 10, 2001 | |
| Committer | Fix 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. | 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 | Jan 09, 2001 | |
| Committer | Fix small but critical typo ... | 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 | Jan 09, 2001 | |
| Committer | Prevent vacuumdb from trying to vacuum template0. | 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 | Jan 08, 2001 | |
| Committer | Document 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. | 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 | Jan 08, 2001 | |
| Committer | Document that we don't support ORDER BY with general expressions on the output of UNION/INTERSECT/EXCEPT. | 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 | Jan 08, 2001 | |
| Committer | check for failure after vacuuming each DB, not only the last one. | 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 | Jan 08, 2001 | |
| Committer | Add some debugging support code (ifdef'd out in normal use). | 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 | Jan 08, 2001 | |
| Committer | LockBuffer should not elog while holding buffer's cntx_lock. | 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 | Jan 08, 2001 | |
| Committer | Make outfuncs/readfuncs treat OIDs properly as unsigned values. Clean up inconsistent coding practices for handling Index values and booleans, too. | 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 | Jan 08, 2001 | |
| Committer | Correct 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.) | 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 | Jan 07, 2001 | |
| Committer | Clear QueryCancel and ProcDiePending at start of proc_exit, to ensure that leftover cancel/die requests cannot interfere with exit activities. | 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 | Jan 07, 2001 | |
| Committer | Fix recent breakage of query-cancel logic, see my pghackers message of 6 Jan 2001 21:55. | 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 | Jan 07, 2001 | |
| Committer | Resultmap updates for OpenBSD, per report from bpalmer@crimelabs.net. | 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 | Jan 07, 2001 | |
| Committer | Modify 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. | 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 | Jan 07, 2001 | |
| Committer | Clean 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. | 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 | Jan 07, 2001 | |
| Committer | Log memory context stats to stderr when reporting a 'Memory exhausted' error, so as to provide a starting point for debugging. | 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 | Jan 06, 2001 | |
| Committer | Fix 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 :-( | 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 | Jan 06, 2001 | |
| Committer | No need for screen_size to be static. | 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 | Jan 06, 2001 | |
| Committer | Bring CREATE RULE reference page into some semblance of agreement with what's actually implemented. | 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 | Jan 06, 2001 | |
| Committer | Fix NOT NULL option for plpgsql variables (doesn't look like it could ever have worked...) | 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 | Jan 06, 2001 | |
| Committer | Fix misplaced strdup(), which could lead to error messages referencing deallocated memory later on. | 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 | Jan 06, 2001 | |
| Committer | Rename 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. | 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 | Jan 05, 2001 | |
| Committer | Remove 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. | 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 | Jan 05, 2001 | |
| Committer | Disallow creation of a child table by a user who does not own the parent table, per pghackers discussion around 22-Dec-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 | Jan 05, 2001 | |
| Committer | Back-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. | REL7_0_PATCHESunreleased | Jan 04, 2001 | |
| Committer | Clean up some unnecessary fragility in EXECUTE command. | 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 | Jan 04, 2001 | |
| Committer | Repair guaranteed core dump in SPI_exec(). Guess this routine wasn't used 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 | Jan 04, 2001 | |
| Committer | pg_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. | 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 | Jan 04, 2001 | |
| Committer | Fix breakage of rules using NOTIFY actions, per bug report and patch from sergiop@sinectis.com.ar. | 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 | Jan 03, 2001 | |
| Committer | New file format for COPY BINARY, in accordance with pghackers discussions of early December 2000. COPY BINARY is now TOAST-safe. | 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 | Jan 03, 2001 | |
| Committer | MakeRetrieveViewRuleName was scribbling on memory that didn't belong to it. Bad dog. | 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 | Jan 03, 2001 | |
| Committer | Document tuple ordering differences as a possible cause of regression test 'failures'. | 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 | Jan 02, 2001 | |
| Committer | Clean 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. | 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 | Jan 02, 2001 | |
| Committer | Tweak temporary-installation setup so that it doesn't break when the configured install --prefix begins with /data/... | 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 | Jan 02, 2001 | |
| Committer | Update geometry-alpha-precision.out per reports from Brent Verner and Adriaan Joubert. | 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 | Jan 01, 2001 | |
| Committer | Define 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. | 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 | Jan 01, 2001 | |
| Committer | CLUSTER forgot to create a TOAST table for the clustered relation. | 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 | Jan 01, 2001 | |
| Committer | Ensure attcacheoff is written out as -1 when writing pg_attribute tuples for a relation. Needed to prevent Assert failure in CLUSTER. | 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 | Jan 01, 2001 | |
| Committer | Update 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 | Jan 01, 2001 |