Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb07058c

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

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_origin_xact_reset</primary>
1752117521
</indexterm>
17522-
<literal><function>pg_replication_origin_xact_reset()</function></literal>
17522+
<literal><function>pg_replication_origin_xact_reset(<parameter>origin_lsn</parameter> <type>pg_lsn</type>, <parameter>origin_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_origin_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_origin_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)

[8]ページ先頭

©2009-2025 Movatter.jp