"Denis Khabas" <[EMAIL PROTECTED]> writes: > According to postgres documentation, all update operations place ROW EXCLUS= > IVE MODE locks, and=20 > EXCLUSIVE MODE is not automatically acquired by any postgres SQL command. S= > o, which command places > ExclusiveLock?
It says that no SQL command acquires ExclusiveLock *on a table*. The pg_locks row you show represents ExclusiveLock on a transaction number. Every transaction gets ExclusiveLock on its transaction number for the duration of its existence. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])