Prevent shutdown in normal mode if online backup is running, and
Magnus Hagander <magnus@hagander.net>
Prevent shutdown in normal mode if online backup is running, and have pg_ctl warn about this. Cancel running online backups (by renaming the backup_label file, thus rendering the backup useless) when shutting down in fast mode. Laurenz Albe
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/pg_ctl-ref.sgml | modified | +5 −4 |
| doc/src/sgml/runtime.sgml | modified | +5 −2 |
| src/backend/access/transam/xlog.c | modified | +51 −1 |
| src/backend/postmaster/postmaster.c | modified | +32 −5 |
| src/bin/pg_ctl/pg_ctl.c | modified | +17 −1 |
| src/include/miscadmin.h | modified | +5 −1 |