Preserve subscription OIDs during pg_upgrade

From: vignesh C <vignesh21(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Preserve subscription OIDs during pg_upgrade
Date: 2024-02-25 16:18:31
Message-ID: CALDaNm2Wj63VcbB0SY2NECHr1mKM1YSaV1ZydrdQVxyox2O2hg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Recently we have supported upgrade of subscriptions,but currently
subscription OIDs can be changed when a cluster is upgraded using
pg_upgrade. It will be better to preserve them as it will be easier to
compare subscription related objects in pg_subscription and
pg_subscription_rel in the old and new clusters.

Attached patch has the changes for the same.

Regards,
Vignesh

Attachment Content-Type Size
v1-0001-Preserve-subscription-OIDs-during-pg_upgrade.patch application/x-patch 9.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-02-25 16:29:17 Re: Optimize planner memory consumption for huge arrays
Previous Message vignesh C 2024-02-25 16:18:20 Re: Can we include capturing logs of pgdata/pg_upgrade_output.d/*/log in buildfarm