pg.ddx.io pgsql-general@postgresql.org mailing list archive
help / color / mirror / Atom feedwhat's the error meaning? on mast/slavery replication .
2+ messages / 2 participants
[nested] [flat]
* what's the error meaning? on mast/slavery replication .
@ 2018-05-03 17:07 林晓东 <lin_xd@126.com>
2018-05-06 11:01 ` Re: what's the error meaning? on mast/slavery replication . Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 1 reply; 2+ messages in thread
From: 林晓东 @ 2018-05-03 17:07 UTC (permalink / raw)
To: pgsql-general
hi,all
I got this when setup two replication server:
致命错误: 在主用服务器和备用服务器之间,数据库系统标识符是不一样的。
详细信息: 主用服务器的标识符是6551342231479624101,备用服务器的标识符是6551367700460643417。
---fatal erro: in main and backup server ,the database 's system id is not same...
what's mean of this ,how to deal with ?
Thanks
--
此致
林晓东
莫愁前路无知己,天下谁人不识君。
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: what's the error meaning? on mast/slavery replication .
2018-05-03 17:07 what's the error meaning? on mast/slavery replication . 林晓东 <lin_xd@126.com>
@ 2018-05-06 11:01 ` Laurenz Albe <laurenz.albe@cybertec.at>
0 siblings, 0 replies; 2+ messages in thread
From: Laurenz Albe @ 2018-05-06 11:01 UTC (permalink / raw)
To: 林晓东 <lin_xd@126.com>; pgsql-general
林晓东 wrote:
>
> hi,all
> I got this when setup two replication server:
>
> 致命错误: 在主用服务器和备用服务器之间,数据库系统标识符是不一样的。
> 详细信息: 主用服务器的标识符是6551342231479624101,备用服务器的标识符是6551367700460643417。
> ---fatal erro: in main and backup server ,the database 's system id is not same...
> what's mean of this ,how to deal with ?
You need to start the standby with a physical backup of the database,
e.g. using pg_basebackup.
You cannot restore a database dump taken with pg_dump to start
streaming replication, because that is a logical backup (there is
no guarantee that the same data are in the same block of the same file).
Yours,
Laurenz Albe
--
+43-670-6056265
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26, A-2700 Wiener Neustadt
Web: https://www.cybertec-postgresql.com
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2018-05-06 11:01 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03 17:07 what's the error meaning? on mast/slavery replication . 林晓东 <lin_xd@126.com>
2018-05-06 11:01 ` Laurenz Albe <laurenz.albe@cybertec.at>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox