@@ -15884,35 +15884,35 @@ SELECT set_config('log_statement_stats', 'off', false);
15884
15884
<entry>
15885
15885
<literal><function>pg_create_restore_point(<parameter>name</> <type>text</>)</function></literal>
15886
15886
</entry>
15887
- <entry><type>text </type></entry>
15887
+ <entry><type>pg_lsn </type></entry>
15888
15888
<entry>Create a named point for performing restore (restricted to superusers)</entry>
15889
15889
</row>
15890
15890
<row>
15891
15891
<entry>
15892
15892
<literal><function>pg_current_xlog_insert_location()</function></literal>
15893
15893
</entry>
15894
- <entry><type>text </type></entry>
15894
+ <entry><type>pg_lsn </type></entry>
15895
15895
<entry>Get current transaction log insert location</entry>
15896
15896
</row>
15897
15897
<row>
15898
15898
<entry>
15899
15899
<literal><function>pg_current_xlog_location()</function></literal>
15900
15900
</entry>
15901
- <entry><type>text </type></entry>
15901
+ <entry><type>pg_lsn </type></entry>
15902
15902
<entry>Get current transaction log write location</entry>
15903
15903
</row>
15904
15904
<row>
15905
15905
<entry>
15906
15906
<literal><function>pg_start_backup(<parameter>label</> <type>text</> <optional>, <parameter>fast</> <type>boolean</> </optional>)</function></literal>
15907
15907
</entry>
15908
- <entry><type>text </type></entry>
15908
+ <entry><type>pg_lsn </type></entry>
15909
15909
<entry>Prepare for performing on-line backup (restricted to superusers or replication roles)</entry>
15910
15910
</row>
15911
15911
<row>
15912
15912
<entry>
15913
15913
<literal><function>pg_stop_backup()</function></literal>
15914
15914
</entry>
15915
- <entry><type>text </type></entry>
15915
+ <entry><type>pg_lsn </type></entry>
15916
15916
<entry>Finish performing on-line backup (restricted to superusers or replication roles)</entry>
15917
15917
</row>
15918
15918
<row>
@@ -15933,26 +15933,26 @@ SELECT set_config('log_statement_stats', 'off', false);
15933
15933
<entry>
15934
15934
<literal><function>pg_switch_xlog()</function></literal>
15935
15935
</entry>
15936
- <entry><type>text </type></entry>
15936
+ <entry><type>pg_lsn </type></entry>
15937
15937
<entry>Force switch to a new transaction log file (restricted to superusers)</entry>
15938
15938
</row>
15939
15939
<row>
15940
15940
<entry>
15941
- <literal><function>pg_xlogfile_name(<parameter>location</> <type>text </>)</function></literal>
15941
+ <literal><function>pg_xlogfile_name(<parameter>location</> <type>pg_lsn </>)</function></literal>
15942
15942
</entry>
15943
15943
<entry><type>text</type></entry>
15944
15944
<entry>Convert transaction log location string to file name</entry>
15945
15945
</row>
15946
15946
<row>
15947
15947
<entry>
15948
- <literal><function>pg_xlogfile_name_offset(<parameter>location</> <type>text </>)</function></literal>
15948
+ <literal><function>pg_xlogfile_name_offset(<parameter>location</> <type>pg_lsn </>)</function></literal>
15949
15949
</entry>
15950
15950
<entry><type>text</>, <type>integer</></entry>
15951
15951
<entry>Convert transaction log location string to file name and decimal byte offset within file</entry>
15952
15952
</row>
15953
15953
<row>
15954
15954
<entry>
15955
- <literal><function>pg_xlog_location_diff(<parameter>location</> <type>text </>, <parameter>location</> <type>text </>)</function></literal>
15955
+ <literal><function>pg_xlog_location_diff(<parameter>location</> <type>pg_lsn </>, <parameter>location</> <type>pg_lsn </>)</function></literal>
15956
15956
</entry>
15957
15957
<entry><type>numeric</></entry>
15958
15958
<entry>Calculate the difference between two transaction log locations</entry>
@@ -16107,7 +16107,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
16107
16107
<entry>
16108
16108
<literal><function>pg_last_xlog_receive_location()</function></literal>
16109
16109
</entry>
16110
- <entry><type>text </type></entry>
16110
+ <entry><type>pg_lsn </type></entry>
16111
16111
<entry>Get last transaction log location received and synced to disk by
16112
16112
streaming replication. While streaming replication is in progress
16113
16113
this will increase monotonically. If recovery has completed this will
@@ -16121,7 +16121,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
16121
16121
<entry>
16122
16122
<literal><function>pg_last_xlog_replay_location()</function></literal>
16123
16123
</entry>
16124
- <entry><type>text </type></entry>
16124
+ <entry><type>pg_lsn </type></entry>
16125
16125
<entry>Get last transaction log location replayed during recovery.
16126
16126
If recovery is still in progress this will increase monotonically.
16127
16127
If recovery has completed then this value will remain static at
@@ -16335,7 +16335,7 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
16335
16335
<literal><function>pg_create_physical_replication_slot(<parameter>slotname</parameter> <type>text</type>, <parameter>plugin</parameter> <type>text</type>)</function></literal>
16336
16336
</entry>
16337
16337
<entry>
16338
- (<parameter>slotname</parameter> <type>text</type>, <parameter>xlog_position</parameter> <type>text </type>)
16338
+ (<parameter>slotname</parameter> <type>text</type>, <parameter>xlog_position</parameter> <type>pg_lsn </type>)
16339
16339
</entry>
16340
16340
<entry>
16341
16341
Creates a new physical replication slot named
0 commit comments