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

Commitec40f34

Browse files
committed
Change timeline field of IDENTIFY_SYSTEM to int8
It was int4, but in the other replication commands, timelines arereturned as int8.Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>Discussion:https://www.postgresql.org/message-id/flat/7e4fdbdc-699c-4cd0-115d-fb78a957fc22@enterprisedb.com
1 parent4e85b97 commitec40f34

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎doc/src/sgml/protocol.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1838,7 +1838,7 @@ psql "dbname=postgres replication=database" -c "IDENTIFY_SYSTEM;"
18381838
</varlistentry>
18391839

18401840
<varlistentry>
1841-
<term><literal>timeline</literal> (<type>int4</type>)</term>
1841+
<term><literal>timeline</literal> (<type>int8</type>)</term>
18421842
<listitem>
18431843
<para>
18441844
Current timeline ID. Also useful to check that the standby is

‎src/backend/replication/walsender.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ IdentifySystem(void)
444444
TupleDescInitBuiltinEntry(tupdesc, (AttrNumber)1,"systemid",
445445
TEXTOID,-1,0);
446446
TupleDescInitBuiltinEntry(tupdesc, (AttrNumber)2,"timeline",
447-
INT4OID,-1,0);
447+
INT8OID,-1,0);
448448
TupleDescInitBuiltinEntry(tupdesc, (AttrNumber)3,"xlogpos",
449449
TEXTOID,-1,0);
450450
TupleDescInitBuiltinEntry(tupdesc, (AttrNumber)4,"dbname",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp