On Linux at least - not sure about Windows - deleting a file does
not remove it from the file system until there are no more processes
holding the file open.
So while postgres holds the file open, it can keep writing to it
happily.
You won't be able to see the file i
I am curious about this scenario:
What is going to happen when a server is running and the Postgres log file is
accidentally deleted or renamed? The server will have no place to write its
log
entries obviously.. what else?.
Is there any way to check within Postgres what the current log name (