Content-Length: 280906 | pFad | http://github.com/postgrespro/postgres/commit/b07058c213725e9493052ffe0a219323f74e8ed3

01 Add note about unused arguments for pg_replication_origen_xact_reset(… · postgrespro/postgres@b07058c · GitHub
Skip to content

Commit b07058c

Browse files
committed
Add note about unused arguments for pg_replication_origen_xact_reset() in docs.
In 9.5, two arguments were introduced into pg_replication_origen_xact_reset() by mistake while they are actually not used at all. We cannot fix this issue for 9.5 anymore because it needs a catalog version bump. Instead, we add a note about those unused arguments into the document. Reviewed-By: Andres Freund
1 parent 3fddd64 commit b07058c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

doc/src/sgml/func.sgml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17519,14 +17519,20 @@ postgres=# SELECT * FROM pg_xlogfile_name_offset(pg_stop_backup());
1751917519
<indexterm>
1752017520
<primary>pg_replication_origen_xact_reset</primary>
1752117521
</indexterm>
17522-
<literal><function>pg_replication_origen_xact_reset()</function></literal>
17522+
<literal><function>pg_replication_origen_xact_reset(<parameter>origen_lsn</parameter> <type>pg_lsn</type>, <parameter>origen_timestamp</parameter> <type>timestamptz</type>)</function></literal>
1752317523
</entry>
1752417524
<entry>
1752517525
void
1752617526
</entry>
1752717527
<entry>
1752817528
Cancel the effects of
1752917529
<function>pg_replication_origen_xact_setup()</function>.
17530+
Note that two arguments were introduced <emphasis>by mistake</>
17531+
during the <productname>PostgreSQL</> 9.5 development cycle while
17532+
<function>pg_replication_origen_xact_reset()</function> actually
17533+
doesn't use them at all. Therefore, any dummy values except
17534+
<literal>NULL</> can be safely specified as the arguments.
17535+
This mistake will be fixed in a future release.
1753017536
</entry>
1753117537
</row>
1753217538

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b07058c213725e9493052ffe0a219323f74e8ed3

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy