Re: Should we skip foreign key checks in binary upgrade mode?

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Should we skip foreign key checks in binary upgrade mode?
Date: 2026-12-01 18:46:04
Message-ID: CAApHDvrEZNE6xfmwHh25T9eU3=rB-oTyWKZjwq12Aw+_BOdeMA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 1 Dec 2026 at 18:17, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> David Rowley <dgrowleyml(at)gmail(dot)com> writes:
> > I've adjusted the commit message and pushed.
>
> I find that this patch broke contrib/sepgsql's regression test,
> evidently because the new short-circuit path skips making some
> accesses that the test is expecting to happen. I suggest
> the attached patch.

Thanks for taking care of that.

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2026-12-01 18:47:30 Re: Fix LogStandbySnapshot() race during logical decoding activation
Previous Message Tom Lane 2026-12-01 18:39:22 Re: Should we skip foreign key checks in binary upgrade mode?