postgresql/src/backend
Bruce Momjian d0f3a7e9c4 - Modifies LOCKTAG to include a 'classId'. Relation receive a classId of
RelOid_pg_class, and transaction locks XactLockTableId. RelId is renamed
to objId.

- LockObject() and UnlockObject() functions created, and their use
sprinkled throughout the code to do descent locking for domains and
types. They accept lock modes AccessShare and AccessExclusive, as we
only really need a 'read' and 'write' lock at the moment.  Most locking
cases are held until the end of the transaction.

This fixes the cases Tom mentioned earlier in regards to locking with
Domains.  If the patch is good, I'll work on cleaning up issues with
other database objects that have this problem (most of them).

Rod Taylor
2003-02-19 04:02:54 +00:00
..
access This trivial patch removes the usage of some old statistics code that no 2003-02-13 05:35:11 +00:00
bootstrap Revise executor APIs so that all per-query state structure is built in 2002-12-15 16:17:59 +00:00
catalog COALESCE() and NULLIF() are now first-class expressions, not macros 2003-02-16 02:30:39 +00:00
commands - Modifies LOCKTAG to include a 'classId'. Relation receive a classId of 2003-02-19 04:02:54 +00:00
executor COALESCE() and NULLIF() are now first-class expressions, not macros 2003-02-16 02:30:39 +00:00
lib Remove bit.c/h routines. Not used anymore. 2003-01-09 01:23:55 +00:00
libpq Update FAQ's in head and 7.3.X. 2003-02-14 14:05:00 +00:00
main This patch removes a bunch of superfluous #include directives: if 2002-11-08 20:23:57 +00:00
nodes COALESCE() and NULLIF() are now first-class expressions, not macros 2003-02-16 02:30:39 +00:00
optimizer Back off previous patch to skip projection step in scan plan nodes, 2003-02-16 06:06:32 +00:00
parser - Modifies LOCKTAG to include a 'classId'. Relation receive a classId of 2003-02-19 04:02:54 +00:00
po Most of the code follows the American spelling of the word, which is 2002-11-19 17:21:40 +00:00
port This patch removes a bunch of superfluous #include directives: if 2002-11-08 20:23:57 +00:00
postmaster Where available, use utime() or utimes() to update the file mod time 2003-01-25 05:19:47 +00:00
regex Replace regular expression package with Henry Spencer's latest version 2003-02-05 17:41:33 +00:00
rewrite Repair rule permissions-checking bug reported by Tim Burgess 10-Feb-02: 2003-02-13 21:39:50 +00:00
storage - Modifies LOCKTAG to include a 'classId'. Relation receive a classId of 2003-02-19 04:02:54 +00:00
tcop Allow PQcmdTuples to return row counts for MOVE and FETCH. 2003-02-19 03:59:02 +00:00
utils - Modifies LOCKTAG to include a 'classId'. Relation receive a classId of 2003-02-19 04:02:54 +00:00
Makefile Move pg_service.conf.sample to /interfaces/libpq. 2003-02-03 14:24:07 +00:00
nls.mk Translation updates 2002-09-14 13:46:24 +00:00