Thanks to visit codestin.com Credit goes to github.com
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 8d6a07f commit 3a8e9e9Copy full SHA for 3a8e9e9
src/backend/replication/libpqwalreceiver/libpqwalreceiver.c
@@ -152,6 +152,7 @@ libpqrcv_identify_system(TimeLineID *primary_tli)
152
GetSystemIdentifier());
153
if (strcmp(primary_sysid, standby_sysid) != 0)
154
{
155
+ primary_sysid = pstrdup(primary_sysid);
156
PQclear(res);
157
ereport(ERROR,
158
(errmsg("database system identifier differs between the primary and standby"),
0 commit comments