"Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> writes:
> Isn't it a better idea to have a separate 'SELF EXCLUSIVE' lock
> which conflicts with only itself ?
*Only* itself? What would that be useful for? Not for locking
tables, anyway --- if you don't conflict with AccessExclusiveLock
then it's possible for someone to drop the table while you're
working on it.
regards, tom lane