]> granicus.if.org Git - postgresql/commit
Use a safer order of operations in dropdb(): rollbackable operations,
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Oct 2005 20:02:20 +0000 (20:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Oct 2005 20:02:20 +0000 (20:02 +0000)
commit375e7d557974d43e0c059c8894ac976e90333013
tree0bc99f179edf4c6f46638a3fe3211d9a1af3ccb4
parent15a110ed01d448e07ad4689c5b7809bb9c526dcd
Use a safer order of operations in dropdb(): rollbackable operations,
ie removing shared-dependency entries, should happen before non-rollbackable
ones.  That way a failure during the rollbackable part doesn't leave us
with inconsistent state.
src/backend/commands/dbcommands.c