postgresql/src/test
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
..
bench Make sure -L and -I's for our source tree are always before system include 2001-02-20 19:20:30 +00:00
examples Update copyright to 2002. 2002-06-20 20:29:54 +00:00
locale Remove all traces of multibyte and locale options. Clean up comments 2002-09-03 21:45:44 +00:00
mb Remove all traces of multibyte and locale options. Clean up comments 2002-09-03 21:45:44 +00:00
performance /usr/local/bin/perl => /usr/bin/perl 2001-09-04 11:41:04 +00:00
regress - Modifies LOCKTAG to include a 'classId'. Relation receive a classId of 2003-02-19 04:02:54 +00:00
Makefile New unified regression test driver, test/regress makefile cleanup, 2000-09-29 17:17:41 +00:00