- Apr 12, 2000
-
-
Bruce Momjian authored
-
- Feb 27, 2000
-
-
Tom Lane authored
relcache entry's reference count is zero.
-
- Jan 31, 2000
-
-
Tom Lane authored
syscache and relcache flushes). Relcache entry rebuild now preserves original tupledesc, rewrite rules, and triggers if possible, so that pointers to these things remain valid --- if these things change while relcache entry has positive refcount, we elog(ERROR) to avoid later crash. Arrange for xact-local rels to be rebuilt when an SI inval message is seen for them, so that they are updated by CommandCounterIncrement the same as regular rels. (This is useful because of Hiroshi's recent changes to process our own SI messages at CommandCounterIncrement time.) This allows simplification of some routines that previously hacked around the lack of an automatic update. catcache now keeps its own copy of tupledesc for its relation, rather than depending on the relcache's copy; this avoids needing to reinitialize catcache during a cache flush, which saves some cycles and eliminates nasty circularity problems that occur if a cache flush happens while trying to initialize a catcache. Eliminate a number of permanent memory leaks that used to happen during catcache or relcache flush; not least of which was that catcache never freed any cached tuples! (Rule parsetree storage is still leaked, however; will fix that separately.) Nothing done yet about code that uses tuples retrieved by SearchSysCache for longer than is safe.
-
- Jan 26, 2000
-
-
Bruce Momjian authored
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
-
- Jan 22, 2000
-
-
Peter Eisentraut authored
-
- Jan 10, 2000
-
-
Bruce Momjian authored
-
- Nov 16, 1999
-
-
Bruce Momjian authored
Thanks to Tom Lane for ideas.
-
- Nov 08, 1999
-
-
Bruce Momjian authored
Fewer calls to nameout. Better use of RelationGetRelationName.
-
- Nov 04, 1999
-
-
Hiroshi Inoue authored
Now indexes of pg_class and pg_type are unique indexes and guarantee the uniqueness of correponding attributes. heap_create() was changed to take another boolean parameter which allows to postpone the creation of disk file. The name of rd_nonameunlinked was changed to rd_unlinked. It is used generally(not only for noname relations) now. Requires initdb.
-
- Sep 29, 1999
-
-
Jan Wieck authored
Implements the CREATE CONSTRAINT TRIGGER and SET CONSTRAINTS commands. TODO: Generic builtin trigger procedures Automatic execution of appropriate CREATE CONSTRAINT... at CREATE TABLE Support of new trigger type in pg_dump Swapping of huge # of events to disk Jan
-
- Sep 18, 1999
-
-
Tom Lane authored
additional argument specifying the kind of lock to acquire/release (or 'NoLock' to do no lock processing). Ensure that all relations are locked with some appropriate lock level before being examined --- this ensures that relevant shared-inval messages have been processed and should prevent problems caused by concurrent VACUUM. Fix several bugs having to do with mismatched increment/decrement of relation ref count and mismatched heap_open/close (which amounts to the same thing). A bogus ref count on a relation doesn't matter much *unless* a SI Inval message happens to arrive at the wrong time, which is probably why we got away with this sloppiness for so long. Repair missing grab of AccessExclusiveLock in DROP TABLE, ALTER/RENAME TABLE, etc, as noted by Hiroshi. Recommend 'make clean all' after pulling this update; I modified the Relation struct layout slightly. Will post further discussion to pghackers list shortly.
-
- Jul 16, 1999
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- May 25, 1999
-
-
Bruce Momjian authored
-
- Feb 14, 1999
-
-
Bruce Momjian authored
-
- Feb 02, 1999
-
-
Bruce Momjian authored
-
- Sep 01, 1998
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- Aug 19, 1998
-
-
Bruce Momjian authored
no longer returns buffer pointer, can be gotten from scan; descriptor; bootstrap can create multi-key indexes; pg_procname index now is multi-key index; oidint2, oidint4, oidname are gone (must be removed from regression tests); use System Cache rather than sequential scan in many places; heap_modifytuple no longer takes buffer parameter; remove unused buffer parameter in a few other functions; oid8 is not index-able; remove some use of single-character variable names; cleanup Buffer variables usage and scan descriptor looping; cleaned up allocation and freeing of tuples; 18k lines of diff;
-
- Feb 26, 1998
-
-
Bruce Momjian authored
-
- Jan 24, 1998
-
-
Bruce Momjian authored
-
- Jan 15, 1998
-
-
PostgreSQL Daemon authored
Patch by: wieck@sapserv.debis.de (Jan Wieck) One of the design rules of PostgreSQL is extensibility. And to follow this rule means (at least for me) that there should not only be a builtin PL. Instead I would prefer a defined interface for PL implemetations.
-
- Nov 21, 1997
-
-
Bruce Momjian authored
-
- Oct 28, 1997
-
-
Vadim B. Mikheev authored
-
- Sep 08, 1997
-
-
Bruce Momjian authored
-
Bruce Momjian authored
Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting.
-
- Sep 07, 1997
-
-
Bruce Momjian authored
-
- Sep 04, 1997
-
-
Vadim B. Mikheev authored
-
- Sep 01, 1997
-
-
Vadim B. Mikheev authored
-
- Nov 04, 1996
-
-
Marc G. Fournier authored
-
Marc G. Fournier authored
-
- Nov 01, 1996
-
-
Marc G. Fournier authored
include files properly...yet, slowly...
-
- Oct 24, 1996
-
-
Marc G. Fournier authored
relations and transaction is aborted Submitted by: wieck@sapserv.debis.de (Jan Wieck)
-
- Oct 19, 1996
-
-
Marc G. Fournier authored
-
Marc G. Fournier authored
-
- Aug 28, 1996
-
-
Marc G. Fournier authored
- centralizing to simplify the -I's required to compile
-
- Jul 09, 1996
-