Re: DROP DATABASE doesn't force other backends to close FDs

2020-03-29 Thread Andres Freund
Hi, On 2018-10-03 15:37:25 -0700, Andres Freund wrote: > Joerg reported on IRC that after a DROP DATABASE the space of the > dropped database wasn't available to the OS until he killed a session > that was active from before the drop. I was kinda incredulous at first, > the code looks sane...

DROP DATABASE doesn't force other backends to close FDs

2018-10-03 Thread Andres Freund
Hi, Joerg reported on IRC that after a DROP DATABASE the space of the dropped database wasn't available to the OS until he killed a session that was active from before the drop. I was kinda incredulous at first, the code looks sane... Thomas figured out significant parts of this. dropdb() does