Re: Create a logical and physical replication
"Deepak Pahuja ." <[email protected]> Tue, 5 Nov 2019 11:15:20 +0000
| Newsgroups | gmane.comp.db.postgresql.general,gmane.comp.db.postgresql.admin |
|---|---|
| Message-ID | <CH2PR10MB403703133179BC0DB8B7D713D67E0@CH2PR10MB4037.namprd10.prod.outlook.com> |
Yes it is possible. Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: Ashok Kumar Tiwari <[email protected]> Sent: Tuesday, November 5, 2019 7:12:45 PM To: Kyotaro Horiguchi <[email protected]> Cc: Rui DeSousa <[email protected]>; Shital A <[email protected]>; [email protected] <[email protected]>; [email protected] <[email protected]> Subject: Re: Create a logical and physical replication its possible to cascade a logical replication from a binary slave replica? [image.png] On Tue, Nov 5, 2019 at 11:25 AM Kyotaro Horiguchi <[email protected]<mailto:[email protected]>> wrote: Hello. At Mon, 4 Nov 2019 19:05:24 +0530, Ashok Kumar Tiwari <[email protected]<mailto:[email protected]>> wrote in > is it possible in postgres to create one physical replica for DR(data > recovery purpose) and another one logical replica for reporting purpose A physical replication standby cannot be a publisher. You will find that CREATE PUBLICATION fails. > master --------> physical standby (for DR Purpose) > | > | > | > | > logical replica for reporting purpose > > ------------------ or cascading logic replication > > master --------> physical standby (for DR Purpose) ------------- > > logical replica for reporting purpose The former works (as documented in [1]) but the latter doesn't. By the way, If I'm not missing anything I don't find a description on this restriction in the documentation. Shouldn't it be in [2], or [1]? [1]: https://www.postgresql.org/docs/12/logical-replication.html [2]: https://www.postgresql.org/docs/12/logical-replication-restrictions.html regards. -- Kyotaro Horiguchi NTT Open Source Software Center -- Ashok Kumar Tiwari, Senior Technical Consultant, [email protected]<mailto:[email protected]>, M:+91-9657628833 [http://www.blystreecare.com/images/tree-clipart-4.gif] Save a tree. Please avoid printing this email unless necessary. ***** Email confidentiality notice ***** This message is private and confidential. If you have received this message in error, please notify us and remove it from your system.
image.png
(image/png, 145.2 KB) - not displayed