"Hiroshi Inoue" <Inoue@tpf.co.jp> writes:
> In PostgreSQL,'lock table' acquires a AccessExclusiveLock by default.
> IMHO ExclusiveLock is sufficient for ordinary purpose.
People who want that kind of lock can get it with LOCK TABLE IN
EXCLUSIVE MODE. I do not think it's a good idea to change the
default kind of lock acquired by a plain LOCK TABLE, if that's
what you're suggesting ...
regards, tom lane