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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: David Rowley <dgrowleyml(at)gmail(dot)com>, 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:39:22
Message-ID: 1584731.1796150362@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> On 2026-12-01 Tu 12:17 AM, Tom Lane wrote:
>> 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.

> Wouldn't it be better to keep doing the check, as in the attached?

[ shrug... ] I don't actually care at all about sepgsql, and am
content to stop at un-breaking the buildfarm. If you think that
something like this improves its test coverage, feel free, but
I'm not convinced it's buying much.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2026-12-01 18:46:04 Re: Should we skip foreign key checks in binary upgrade mode?
Previous Message Prashant Chinnam 2026-12-01 18:39:18 Re: [PATCH] pgcrypto: Fix sha-crypt rounds= values that do not fit in int (BUG #19743)