> On 8/9/2017 2:17 PM, [email protected] wrote:
>> On Wed, 9 Aug 2017 09:14:48 -0700, Jeff Janes <[email protected]> wrote:
>> Why doesn't the Windows scheduled shutdown signal postgres to shutdown
>> cleanly and wait for it to do so?� That is what is supposed to happen.
> Windows *does* signal shutdown (and sleep and hibernate and wakeup).�
> pg_ctl can catch these signals only when running as a service ... it
> will not catch any system signals when run as an application.
Ok, I am not sure. I run Postgres as a service, and when my Windows rebooted after a patch, UNLOGGED tables were cleaned... maybe the patch process in Windows messed something up, I don't know.