Re: Prevent foreign key references to unlogged partitions

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, Fujii Masao <masao(dot)fujii(at)gmail(dot)com>, Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
Subject: Re: Prevent foreign key references to unlogged partitions
Date: 2026-11-24 02:07:29
Message-ID: CAGRkXqR7ff10osTcnX0zVuGW6UEwBLjB7CGmeB00yMYEc44OaQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Zsolt,

Did some testing and the WAL bloat problem was resolved.

I think pg_upgrade needs a check. A 19 database created by

pgbench -i --unlogged-tables --partitions=2 --foreign-keys

passes pg_upgrade --check, then the real upgrade fails.

Thanks,
Shihao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message ZizhuanLiu X-MAN 2026-11-24 02:08:28 Re: Incorrect selectivity estimates for NOT on nullable boolean columns
Previous Message Bharath Rupireddy 2026-11-24 01:58:36 Re: Parallel heap vacuum