postgresql/src/include
Tom Lane bd272cace6 Mega-commit to make heap_open/heap_openr/heap_close take an
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.
1999-09-18 19:08:25 +00:00
..
access Mega-commit to make heap_open/heap_openr/heap_close take an 1999-09-18 19:08:25 +00:00
bootstrap Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
catalog Mark bpchareq not hashjoinable, since it strips trailing blanks 1999-09-06 21:16:20 +00:00
commands Add new vpl_num_allocated_pages member to VPageListData. 1999-08-25 12:18:31 +00:00
executor Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
lib Minor improvements to stringinfo package to make it more 1999-08-31 01:28:37 +00:00
libpq Commit the bulk of Mike Ansley's long-query changes in the 1999-08-31 04:26:40 +00:00
mb Fix for multi-byte includes. 1999-07-17 16:25:28 +00:00
nodes Revise implementation of SubLinks so that there is a consistent, 1999-08-25 23:21:43 +00:00
optimizer First cut at doing something reasonable with OR-of-ANDs WHERE 1999-09-13 00:17:25 +00:00
parser Remove bogus code in oper_exact --- if it didn't find an exact 1999-08-23 23:48:39 +00:00
port linux/sparc cleanup 1999-07-19 18:19:40 +00:00
regex Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
rewrite Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
storage Mega-commit to make heap_open/heap_openr/heap_close take an 1999-09-18 19:08:25 +00:00
tcop Change #include's to use <> and "" as appropriate. 1999-07-15 23:04:24 +00:00
utils Mega-commit to make heap_open/heap_openr/heap_close take an 1999-09-18 19:08:25 +00:00
c.h Move some system includes into c.h, and remove duplicates. 1999-07-17 20:18:55 +00:00
config.h.in Eliminate query length limitation imposed by pg_client_to_server 1999-09-11 22:28:11 +00:00
miscadmin.h Move default NBuffers setting into config.h, and rename it 1999-06-12 22:17:24 +00:00
postgres.h More config.h cleanups. 1999-07-17 04:12:10 +00:00
postgres_ext.h Turns out OIDNAMELEN wasn't really being used at all! 1999-06-04 21:12:07 +00:00
rusagestub.h Change my-function-name-- to my_function_name, and optimizer renames. 1999-02-13 23:22:53 +00:00
strdup.h Another PGINDENT run that changes variable indenting and case label indenting. Also static variable indenting. 1997-09-08 02:41:22 +00:00
version.h.in Update for 6.6. 1999-07-18 18:06:42 +00:00