From be1cc8f46f57a04e69d9e4dd268d34da885fe6eb Mon Sep 17 00:00:00 2001 From: Simon Riggs Date: Mon, 17 Nov 2014 22:15:07 +0000 Subject: Add pg_dump --snapshot option Allows pg_dump to use a snapshot previously defined by a concurrent session that has either used pg_export_snapshot() or obtained a snapshot when creating a logical slot. When this option is used with parallel pg_dump, the snapshot defined by this option is used and no new snapshot is taken. Simon Riggs and Michael Paquier --- doc/src/sgml/ref/pg_dump.sgml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index c92c6eef5d3..a6e7b08e2e2 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -847,6 +847,27 @@ PostgreSQL documentation + + + + + Use the specifed synchronized snapshot when making a dump of the + database (see + for more + details). + + + This option is useful when needing to synchronize the dump with + a logical replication slot (see ) + or with a concurrent session. + + + In the case of a parallel dump, the snapshot name defined by this + option is used rather than taking a new snapshot. + + + + -- cgit v1.2.3