Need to do BufferSync at end of DROP DATABASE as well as CREATE DATABASE.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Jan 2001 22:14:10 +0000 (22:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 14 Jan 2001 22:14:10 +0000 (22:14 +0000)
commit30d57f44bc7f8d3bda0f407bc98e2dc2d7275c17
treea5547f741cef4c8d22dba592bbf2c0aeb4bb5a91
parente3e571e4d4fce16cfcc5f28aedfb3734b13664c3
Need to do BufferSync at end of DROP DATABASE as well as CREATE DATABASE.
Otherwise, newly connecting backends will still think the deleted DB is
valid, and will generate unexpected error messages.
src/backend/commands/dbcommands.c