O Tom Lane έγραψε στις Sep 28, 2004 :
> Achilleus Mantzios <[EMAIL PROTECTED]> writes: > > Whats the purpose of the AccessExclusiveLock on parent table? > > We're adding a trigger to it. >From the docs: Acquired by the ALTER TABLE, DROP TABLE, REINDEX, CLUSTER, and VACUUM FULL commands. This is also the default lock mode for LOCK TABLE statements that do not specify a mode explicitly. Now is the lock in question created explicitly with LOCK TABLE? Since the docs dont say a thing about triggers acquiring locks. > > regards, tom lane > -- -Achilleus ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match