RE: [PATCH] Preserve replication origin OIDs in pg_upgrade
От
Hayato Kuroda (Fujitsu)
Тема
RE: [PATCH] Preserve replication origin OIDs in pg_upgrade
Дата
Msg-id
OS9PR01MB12149E188221BED862E4BE9E0F5342@OS9PR01MB12149.jpnprd01.prod.outlook.com
Ответ на
[PATCH] Preserve replication origin OIDs in pg_upgrade (Ajin Cherian)
Список
Дерево обсуждения
[PATCH] Preserve replication origin OIDs in pg_upgrade Ajin Cherian <itsajin@gmail.com>
RE: [PATCH] Preserve replication origin OIDs in pg_upgrade "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Re: [PATCH] Preserve replication origin OIDs in pg_upgrade shveta malik <shveta.malik@gmail.com>
Re: [PATCH] Preserve replication origin OIDs in pg_upgrade Ajin Cherian <itsajin@gmail.com>
Re: [PATCH] Preserve replication origin OIDs in pg_upgrade shveta malik <shveta.malik@gmail.com>
Re: [PATCH] Preserve replication origin OIDs in pg_upgrade vignesh C <vignesh21@gmail.com>
Re: [PATCH] Preserve replication origin OIDs in pg_upgrade Ajin Cherian <itsajin@gmail.com>
Re: [PATCH] Preserve replication origin OIDs in pg_upgrade Zsolt Parragi <zsolt.parragi@percona.com>
RE: [PATCH] Preserve replication origin OIDs in pg_upgrade "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>
Dear Ajin, > Sequence of Events During Upgrade > > 1. pg_dumpall dumps all non-subscription replication origins from the > old cluster with their roidents and LSN positions. > 2. pg_dump dumps each subscription, but now records the old roident > alongside the subscription info. > 3. During restore, pg_dumpall's output recreates non-subscription > origins on the new cluster with their original roidents via > binary_upgrade_create_replication_origin(). To confirm, why do we have to handle separately for subscription-associated origins? I'm thinking it's not needed if the subscription's OID is preserved during the upgrade. I checked the old thread to preserve it [1], but it could not be accepted because there are no strong motivations. But I feel this is the good reason to do so now. How do you feel? [1]: https://www.postgresql.org/message-id/CALDaNm2Wj63VcbB0SY2NECHr1mKM1YSaV1ZydrdQVxyox2O2hg%40mail.gmail.com Best regards, Hayato Kuroda FUJITSU LIMITED
В списке pgsql-hackers по дате отправления
От: cca5507
Дата: