"Paulo Scardine" <[EMAIL PROTECTED]> writes: > - Where is the best place to put this?
I think it would be a really *bad* idea to put it in LockAcquire; that risks breaking things that you don't want broken. Whether it's special syntax or a GUC variable, the restriction should only apply to SELECT FOR UPDATE row locks, perhaps user-commanded LOCK TABLE operations, and maybe one or two other places that are known to be used only for user-written operations and not for system-initiated ones. Those places would need to check whether to do a conditional or unconditional lock. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings