diff options
author | Robert Haas <rhaas@postgresql.org> | 2011-02-24 18:58:38 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2011-02-24 19:02:00 -0500 |
commit | 79ad8fc5f857ed38057f482fc022bf157175c4d8 (patch) | |
tree | 81bdcc2f98694241d57ad82110de2af791bcf6d3 /doc/src | |
parent | 6079375431d5e55f2456b47521bb16e6e263d8a6 (diff) | |
download | postgresql-79ad8fc5f857ed38057f482fc022bf157175c4d8.tar.gz postgresql-79ad8fc5f857ed38057f482fc022bf157175c4d8.zip |
Named restore point improvements.
Emit a log message when creating a named restore point, and improve
documentation for pg_create_restore_point().
Euler Taveira de Oliveira, per suggestions from Thom Brown, with some
additional wordsmithing by me.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/func.sgml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 736eb67dfff..c363949b7c5 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -14070,6 +14070,16 @@ postgres=# select pg_start_backup('label_goes_here'); </para> <para> + <function>pg_create_restore_point</> creates a named transaction log + record that can be used as recovery target, and returns the corresponding + transaction log location. The given name can then be used with + <xref linkend="recovery-target-name"> to specify the point up to which + recovery will proceed. Avoid creating multiple restore points with the + same name, since recovery will stop at the first one whose name matches + the recovery target. + </para> + + <para> <function>pg_current_xlog_location</> displays the current transaction log write location in the same format used by the above functions. Similarly, <function>pg_current_xlog_insert_location</> displays the current transaction log |