Add an optional parameter to pg_start_backup() that specifies whether to do
Tom Lane <tgl@sss.pgh.pa.us>
Add an optional parameter to pg_start_backup() that specifies whether to do the checkpoint in immediate or lazy mode. This is to address complaints that pg_start_backup() takes a long time even when there's no need to minimize its I/O consumption.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/backup.sgml | modified | +11 −11 |
| doc/src/sgml/func.sgml | modified | +13 −8 |
| src/backend/access/transam/xlog.c | modified | +6 −3 |
| src/backend/catalog/system_views.sql | modified | +20 −1 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +2 −2 |