We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4eeb9d commit a7a3e71Copy full SHA for a7a3e71
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
@@ -151,6 +151,7 @@ libpqrcv_identify_system(TimeLineID *primary_tli)
151
GetSystemIdentifier());
152
if (strcmp(primary_sysid, standby_sysid) != 0)
153
{
154
+ primary_sysid = pstrdup(primary_sysid);
155
PQclear(res);
156
ereport(ERROR,
157
(errmsg("database system identifier differs between the primary and standby"),
0 commit comments