mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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.
This commit is contained in:
@ -14455,6 +14455,12 @@ SELECT set_config('log_statement_stats', 'off', false);
|
||||
<indexterm>
|
||||
<primary>pg_stop_backup</primary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary>pg_is_in_backup</primary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary>pg_backup_start_time</primary>
|
||||
</indexterm>
|
||||
<indexterm>
|
||||
<primary>pg_switch_xlog</primary>
|
||||
</indexterm>
|
||||
@ -14519,6 +14525,20 @@ SELECT set_config('log_statement_stats', 'off', false);
|
||||
<entry><type>text</type></entry>
|
||||
<entry>Finish performing on-line backup (restricted to superusers or replication roles)</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<literal><function>pg_is_in_backup()</function></literal>
|
||||
</entry>
|
||||
<entry><type>bool</type></entry>
|
||||
<entry>True if an on-line exclusive backup is still in progress.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<literal><function>pg_backup_start_time()</function></literal>
|
||||
</entry>
|
||||
<entry><type>timestamp with time zone</type></entry>
|
||||
<entry>Get start time of an online exclusive backup in progress.</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>
|
||||
<literal><function>pg_switch_xlog()</function></literal>
|
||||
|
Reference in New Issue
Block a user