Andrew Dunstan <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> Try putting "RequestCheckpoint(true)" in dbcommands.c just before >> remove_dbtablespaces (about line 630).
> seems to do the trick. patch attached. Patch applied. >> Not necessary, as long as you put the checkpoint after the DropBuffers >> call in dbcommands.c. The bgwriter won't find anything to write. > What about other databases? Or won't the forced checkpoint affect them? For them, it's just an ordinary checkpoint. It's kind of a brute-force solution, but I'm disinclined to worry about optimizing DROP DATABASE ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])