postgresql/src/backend/commands
Tom Lane 09d3670df3 Change the relation_open protocol so that we obtain lock on a relation
(table or index) before trying to open its relcache entry.  This fixes
race conditions in which someone else commits a change to the relation's
catalog entries while we are in process of doing relcache load.  Problems
of that ilk have been reported sporadically for years, but it was not
really practical to fix until recently --- for instance, the recent
addition of WAL-log support for in-place updates helped.

Along the way, remove pg_am.amconcurrent: all AMs are now expected to support
concurrent update.
2006-07-31 20:09:10 +00:00
..
Makefile Tablespaces. Alternate database locations are dead, long live tablespaces. 2004-06-18 06:14:31 +00:00
aggregatecmds.c Aggregate functions now support multiple input arguments. I also took 2006-07-27 19:52:07 +00:00
alter.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
analyze.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
async.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
cluster.c Change the relation_open protocol so that we obtain lock on a relation 2006-07-31 20:09:10 +00:00
comment.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
conversioncmds.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
copy.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
dbcommands.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
define.c Code review for FILLFACTOR patch. Change WITH grammar as per earlier 2006-07-03 22:45:41 +00:00
explain.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
functioncmds.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
indexcmds.c Change the bootstrap sequence so that toast tables for system catalogs are 2006-07-31 01:16:38 +00:00
lockcmds.c Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
opclasscmds.c Mark a few functions as static or NOT_USED. 2006-07-18 17:42:01 +00:00
operatorcmds.c DROP ... IF EXISTS for the following cases: 2006-06-16 20:23:45 +00:00
portalcmds.c Allow include files to compile own their own. 2006-07-13 16:49:20 +00:00
prepare.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
proclang.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
schemacmds.c Allow include files to compile own their own. 2006-07-13 16:49:20 +00:00
sequence.c Change the relation_open protocol so that we obtain lock on a relation 2006-07-31 20:09:10 +00:00
tablecmds.c Change the relation_open protocol so that we obtain lock on a relation 2006-07-31 20:09:10 +00:00
tablespace.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
trigger.c Change the relation_open protocol so that we obtain lock on a relation 2006-07-31 20:09:10 +00:00
typecmds.c Change the relation_open protocol so that we obtain lock on a relation 2006-07-31 20:09:10 +00:00
user.c Allow include files to compile own their own. 2006-07-13 16:49:20 +00:00
vacuum.c Change the relation_open protocol so that we obtain lock on a relation 2006-07-31 20:09:10 +00:00
vacuumlazy.c Change the relation_open protocol so that we obtain lock on a relation 2006-07-31 20:09:10 +00:00
variable.c Remove 576 references of include files that were not needed. 2006-07-14 14:52:27 +00:00
view.c Allow include files to compile own their own. 2006-07-13 16:49:20 +00:00