[COMMITTERS] pgsql: Prevent possibility of panics during shutdown checkpoint.

2017-06-05 Thread Andres Freund
Prevent possibility of panics during shutdown checkpoint. When the checkpointer writes the shutdown checkpoint, it checks afterwards whether any WAL has been written since it started and throws a PANIC if so. At that point, only walsenders are still active, so one might think this could not happe

[COMMITTERS] pgsql: Prevent possibility of panics during shutdown checkpoint.

2017-06-05 Thread Andres Freund
Prevent possibility of panics during shutdown checkpoint. When the checkpointer writes the shutdown checkpoint, it checks afterwards whether any WAL has been written since it started and throws a PANIC if so. At that point, only walsenders are still active, so one might think this could not happe

[COMMITTERS] pgsql: Prevent possibility of panics during shutdown checkpoint.

2017-06-05 Thread Andres Freund
Prevent possibility of panics during shutdown checkpoint. When the checkpointer writes the shutdown checkpoint, it checks afterwards whether any WAL has been written since it started and throws a PANIC if so. At that point, only walsenders are still active, so one might think this could not happe

[COMMITTERS] pgsql: Prevent possibility of panics during shutdown checkpoint.

2017-06-05 Thread Andres Freund
Prevent possibility of panics during shutdown checkpoint. When the checkpointer writes the shutdown checkpoint, it checks afterwards whether any WAL has been written since it started and throws a PANIC if so. At that point, only walsenders are still active, so one might think this could not happe