postgresql/src/include
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 Update copyright to 2002. 2002-06-20 20:29:54 +00:00
catalog COALESCE() and NULLIF() are now first-class expressions, not macros 2003-02-16 02:30:39 +00:00
commands Code for WITHOUT OIDS. 2003-02-13 05:20:05 +00:00
executor Make further use of new bitmapset code: executor's chgParam, extParam, 2003-02-09 00:30:41 +00:00
lib Update copyright to 2002. 2002-06-20 20:29:54 +00:00
libpq Where available, use utime() or utimes() to update the file mod time 2003-01-25 05:19:47 +00:00
mb pgindent run. 2002-09-04 20:31:48 +00:00
nodes COALESCE() and NULLIF() are now first-class expressions, not macros 2003-02-16 02:30:39 +00:00
optimizer Teach planner how to propagate pathkeys from sub-SELECTs in FROM up to 2003-02-15 20:12:41 +00:00
parser [ Revert patch ] 2003-02-13 05:53:46 +00:00
port Awhile back I wrote that freebsd.h was probably broken in the places where 2003-01-01 20:35:39 +00:00
regex Replace regular expression package with Henry Spencer's latest version 2003-02-05 17:41:33 +00:00
rewrite Rule rewriter was doing the wrong thing with conditional INSTEAD rules 2002-10-20 00:58:55 +00:00
storage - Modifies LOCKTAG to include a 'classId'. Relation receive a classId of 2003-02-19 04:02:54 +00:00
tcop Phase 1 of read-only-plans project: cause executor state nodes to point 2002-12-05 15:50:39 +00:00
utils The following patches eliminate the overflows in the j2date() and date2j() 2003-02-19 03:48:11 +00:00
c.h Move new typedef AclId into c.h, so as to avoid cluttering namespace 2003-01-09 18:00:24 +00:00
fmgr.h Add dummy variable declaration to PG_FUNCTION_INFO_V1() to prevent 2002-10-25 22:17:32 +00:00
funcapi.h pgindent run. 2002-09-04 20:31:48 +00:00
getopt_long.h Use our own version of getopt_long() if the OS doesn't have one. 2003-01-06 18:53:25 +00:00
Makefile Include directory rearrangement 2001-08-28 14:20:28 +00:00
miscadmin.h Move new typedef AclId into c.h, so as to avoid cluttering namespace 2003-01-09 18:00:24 +00:00
pg_config.h.in Update FAQ's in head and 7.3.X. 2003-02-14 14:05:00 +00:00
pg_config.h.win32 The attached patch fixes a number of issues related to compiling the 2002-10-03 17:09:42 +00:00
pgstat.h Move new typedef AclId into c.h, so as to avoid cluttering namespace 2003-01-09 18:00:24 +00:00
postgres.h Make 'dummy' declarations in header files be 'extern int no_such_variable' 2002-10-18 20:33:57 +00:00
postgres_ext.h Change NAMEDATALEN to 64, INDEX_MAX_KEYS/MAX_FUNC_ARGS to 32, per discussion on hackers. 2002-08-13 20:40:44 +00:00
postgres_fe.h Update copyright to 2002. 2002-06-20 20:29:54 +00:00
rusagestub.h Update copyright to 2002. 2002-06-20 20:29:54 +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