Skip to content

Commit ec40f34

Browse files
committed
Change timeline field of IDENTIFY_SYSTEM to int8
It was int4, but in the other replication commands, timelines are returned 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 parent 4e85b97 commit ec40f34

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy