diff options
author | Robert Haas <rhaas@postgresql.org> | 2014-03-03 07:16:54 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2014-03-03 07:16:54 -0500 |
commit | d83ee62231d41092c7907166204d57edc3d57070 (patch) | |
tree | 2999877b1a2e90ecac48e6eb93aa4feda5d377af /doc/src | |
parent | 45ffeb7e00576dc8b0544611f2a244540e9662c1 (diff) | |
download | postgresql-d83ee62231d41092c7907166204d57edc3d57070.tar.gz postgresql-d83ee62231d41092c7907166204d57edc3d57070.zip |
Corrections to replication slots code and documentation.
Andres Freund, per a report from Vik Faering
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/func.sgml | 8 | ||||
-rw-r--r-- | doc/src/sgml/high-availability.sgml | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index ff503281140..d344b3a894a 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -16317,10 +16317,10 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); <indexterm> <primary>pg_create_physical_replication_slot</primary> </indexterm> - <literal><function>pg_create_physical_replication_slot(<parameter>slotname</parameter> <type>text</type>, <parameter>plugin</parameter> <type>text</type>)</function></literal> + <literal><function>pg_create_physical_replication_slot(<parameter>slotname</parameter> <type>name</type>)</function></literal> </entry> <entry> - (<parameter>slotname</parameter> <type>text</type>, <parameter>xlog_position</parameter> <type>pg_lsn</type>) + (<parameter>slotname</parameter> <type>name</type>, <parameter>xlog_position</parameter> <type>pg_lsn</type>) </entry> <entry> Creates a new physical replication slot named @@ -16335,10 +16335,10 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup()); <indexterm> <primary>pg_drop_replication_slot</primary> </indexterm> - <literal><function>pg_drop_replication_slot(<parameter>slotname</parameter> <type>text</type>)</function></literal> + <literal><function>pg_drop_replication_slot(<parameter>slotname</parameter> <type>name</type>)</function></literal> </entry> <entry> - (<parameter>slotname</parameter> <type>text</type>) + <type>void</type> </entry> <entry> Drops the physical or logical replication slot diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml index da174558d45..ecb51c4b1a2 100644 --- a/doc/src/sgml/high-availability.sgml +++ b/doc/src/sgml/high-availability.sgml @@ -935,7 +935,7 @@ postgres=# SELECT * FROM pg_create_physical_replication_slot('node_a_slot'); postgres=# SELECT * FROM pg_replication_slots; slot_name | slot_type | datoid | database | active | xmin | restart_lsn -------------+-----------+--------+----------+--------+------+------------- - node_a_slot | physical | 0 | | f | | + node_a_slot | physical | | | f | | (1 row) </programlisting> To configure the standby to use this slot, <varname>primary_slotname</> |