From 68de499bda40fdf1395b714bb63febad61046700 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Thu, 14 Jun 2012 13:25:43 -0400 Subject: New SQL functons pg_backup_in_progress() and pg_backup_start_time() Darold Gilles, reviewed by Gabriele Bartolini and others, rebased by Marco Nenciarini. Stylistic cleanup and OID fixes by me. --- doc/src/sgml/func.sgml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'doc/src') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index de13c7c4761..6f75d41a48c 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -14455,6 +14455,12 @@ SELECT set_config('log_statement_stats', 'off', false); pg_stop_backup + + pg_is_in_backup + + + pg_backup_start_time + pg_switch_xlog @@ -14519,6 +14525,20 @@ SELECT set_config('log_statement_stats', 'off', false); text Finish performing on-line backup (restricted to superusers or replication roles) + + + pg_is_in_backup() + + bool + True if an on-line exclusive backup is still in progress. + + + + pg_backup_start_time() + + timestamp with time zone + Get start time of an online exclusive backup in progress. + pg_switch_xlog() -- cgit v1.2.3