]> granicus.if.org Git - postgresql/commit
RemoveAttrDefaultById() neglected to obtain exclusive lock on the
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Aug 2002 21:54:34 +0000 (21:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 2 Aug 2002 21:54:34 +0000 (21:54 +0000)
commit154f26ff5960ea11d0d5683dd2a119dc15d01218
tree217b8ee49e3cc8ea59b442b986ddb2be0e7590af
parent21cf6b2166ae1fc86734a0aaac89fda7df884e82
RemoveAttrDefaultById() neglected to obtain exclusive lock on the
relation being modified.  In most paths of control we'd already have
such a lock, but if we were dropping the default due to a cascaded
delete of some function it depended on, maybe not.
src/backend/catalog/heap.c