Vivek Khera <khera@kcilink.com> writes:
> I think it is a timing issue. The PG has no way to notify the OS that
> it has finished exiting, so if it takes a long time to exit, the OS
> will ungracefully kill the DB process(es). Doesn't matter what DB (or
> any other application) you're running, you *can* lose data this way.
You most certainly will *not* lose data that way. Committed
transactions will stay committed, no matter how the Postgres processes die.
regards, tom lane