postgresql/src/include/storage
Heikki Linnakangas 8f9622bbb3 Make DDL operations play nicely with Serializable Snapshot Isolation.
Truncating or dropping a table is treated like deletion of all tuples, and
check for conflicts accordingly. If a table is clustered or rewritten by
ALTER TABLE, all predicate locks on the heap are promoted to relation-level
locks, because the tuple or page ids of any existing tuples will change and
won't be valid after rewriting the table. Arguably ALTER TABLE should be
treated like a mass-UPDATE of every row, but if you e.g change the datatype
of a column, you could also argue that it's just a change to the physical
layout, not a logical change. Reindexing promotes all locks on the index to
relation-level lock on the heap.

Kevin Grittner, with a lot of cosmetic changes by me.
2011-06-08 14:02:43 +03:00
..
backendid.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
block.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
buf.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
buf_internals.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
buffile.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
bufmgr.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
bufpage.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
copydir.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
fd.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
freespace.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
fsm_internals.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
indexfsm.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
ipc.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
item.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
itemid.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
itemptr.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
large_object.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
latch.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
lmgr.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
lock.h Add transaction-level advisory locks. 2011-02-18 14:05:12 +09:00
lwlock.h Efficient transaction-controlled synchronous replication. 2011-03-06 22:49:16 +00:00
off.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
pg_sema.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
pg_shmem.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
pmsignal.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
pos.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
predicate.h Make DDL operations play nicely with Serializable Snapshot Isolation. 2011-06-08 14:02:43 +03:00
predicate_internals.h Make DDL operations play nicely with Serializable Snapshot Isolation. 2011-06-08 14:02:43 +03:00
proc.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
procarray.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
procsignal.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
reinit.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
relfilenode.h pgindent run before PG 9.1 beta 1. 2011-04-10 11:42:00 -04:00
s_lock.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
shmem.h Increase SHMEM_INDEX_SIZE from 32 to 64. We're currently at 40 entries in 2011-03-31 13:37:01 +03:00
sinval.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
sinvaladt.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
smgr.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
spin.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
standby.h Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00