- Mar 17, 2000
-
-
Tom Lane authored
running gcc and HP's cc with warnings cranked way up. Signed vs unsigned comparisons, routines declared static and then defined not-static, that kind of thing. Tedious, but perhaps useful...
-
- Mar 01, 2000
-
-
Hiroshi Inoue authored
-
- Jan 20, 2000
-
-
Tom Lane authored
from a constraint condition does not violate the constraint (cf. discussion on pghackers 12/9/99). Implemented by adding a parameter to ExecQual, specifying whether to return TRUE or FALSE when the qual result is really NULL in three-valued boolean logic. Currently, ExecRelCheck is the only caller that asks for TRUE, but if we find any other places that have the wrong response to NULL, it'll be easy to fix them.
-
- Jan 18, 2000
-
-
Tom Lane authored
where necessary --- several of them didn't really need it, though. tqual-checking macros simplified accordingly.
-
- Dec 10, 1999
-
-
Bruce Momjian authored
-
- Nov 08, 1999
-
-
Bruce Momjian authored
Fewer calls to nameout. Better use of RelationGetRelationName.
-
- Sep 24, 1999
-
-
Tom Lane authored
* Buffer refcount cleanup (per my "progress report" to pghackers, 9/22). * Add links to backend PROC structs to sinval's array of per-backend info, and use these links for routines that need to check the state of all backends (rather than the slow, complicated search of the ShmemIndex hashtable that was used before). Add databaseOID to PROC structs. * Use this to implement an interlock that prevents DESTROY DATABASE of a database containing running backends. (It's a little tricky to prevent a concurrently-starting backend from getting in there, since the new backend is not able to lock anything at the time it tries to look up its database in pg_database. My solution is to recheck that the DB is OK at the end of InitPostgres. It may not be a 100% solution, but it's a lot better than no interlock at all...) * In ALTER TABLE RENAME, flush buffers for the relation before doing the rename of the physical files, to ensure we don't get failures later from mdblindwrt(). * Update TRUNCATE patch so that it actually compiles against current sources :-(. You should do "make clean all" after pulling these changes.
-
- 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 19, 1999
-
-
Tom Lane authored
-
- Jul 17, 1999
-
-
Bruce Momjian authored
-
- Jul 16, 1999
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- Jul 15, 1999
-
-
Bruce Momjian authored
-
- May 25, 1999
-
-
Bruce Momjian authored
-
- May 10, 1999
-
-
Bruce Momjian authored
real affect now.
-
- Feb 14, 1999
-
-
Bruce Momjian authored
-
- Dec 15, 1998
-
-
Vadim B. Mikheev authored
New code for locking buffer' context.
-
- Dec 14, 1998
-
-
Marc G. Fournier authored
Initial attempt to clean up the code... Switch sprintf() to snprintf() Remove any/all #if 0 -or- #ifdef NOT_USED -or- #ifdef FALSE sections of code
-
- Nov 27, 1998
-
-
Vadim B. Mikheev 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;
-
- Jul 27, 1998
-
-
Vadim B. Mikheev authored
-
- Jul 20, 1998
-
-
Bruce Momjian authored
-
Bruce Momjian authored
-
- Jun 15, 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.
-
- Jan 07, 1998
-
-
Bruce Momjian authored
-
- Jan 05, 1998
-
-
Bruce Momjian authored
-
- Nov 24, 1997
-
-
Bruce Momjian authored
-
- Nov 21, 1997
-
-
Bruce Momjian authored
-
- Sep 18, 1997
-
-
Bruce Momjian authored
-
- Sep 08, 1997
-
-
Bruce Momjian authored
-
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
-
- Aug 19, 1997
-
-
Bruce Momjian authored
-
- Aug 13, 1997
-
-
Bruce Momjian authored
-
- May 22, 1997
-
-
Vadim B. Mikheev authored
2. Re-initialize keys in gistrescan (if gist used in inner scan).
-