| From: | vignesh C <vignesh21(at)gmail(dot)com> |
|---|---|
| To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
| Cc: | shveta malik <shveta(dot)malik(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, shveta malik <shvetamalik(at)gmail(dot)com> |
| Subject: | Re: Preserve conflict log table during upgrade |
| Date: | 2026-12-01 11:00:30 |
| Message-ID: | CALDaNm38Ek7KZNBH69-B8bxn5Yf9ukVejygcZE80cZueWSDUFQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, 1 Dec 2026 at 12:24, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
>
> >
> > I verified a bit more. Once concern:
> >
> > $ ./pg_dump -d postgres -t pg_conflict.pg_conflict_log_16390 -p 5434
> > pg_dump: error: no matching tables were found
> >
>
> +1 for docs change. I think there is no use dumping the CLT table in
> non-binary upgrade mode (aka outside pg_upgrade) as we won't be able
> maintain the subscription's OID and anyway we won't allow any DDL
> operations on such tables.
That seems the better option here.
> See attached, this contains some other
> cosmetic changes like removing the is_conflict_log_table() as it is
> used at one place and changing comments at few places.
Thanks for the changes, I have merged your changes into the v4 version
patch attached.
The patch also adds documentation for the issues reported by Shlok at
[1] at [2].
[1] - https://www.postgresql.org/message-id/CANhcyEVOZ6YpFDFdb%3Df3Q407ubQRE5U4_uc_QjzC_ys3LpVcDA%40mail.gmail.com
[2] - https://www.postgresql.org/message-id/CANhcyEVfZE%3D0JfhZ%3DJqLNuzXSzyqpTz2q2v_yXuO9RLyNoisoQ%40mail.gmail.com
Regards,
Vignesh
| Attachment | Content-Type | Size |
|---|---|---|
| v4-0001-Preserve-conflict-log-tables-and-conflict_log_des.patch | application/octet-stream | 23.2 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | vignesh C | 2026-12-01 11:02:00 | Re: Preserve conflict log table during upgrade |
| Previous Message | Amit Kapila | 2026-12-01 10:56:09 | Re: ALTER DEFAULT PRIVILEGES IN SCHEMA pg_conflict silently has no effect |