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

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 19:14:36
Message-ID: 3f7f9765-6901-4c32-a207-13840ad25b8a@dunslane.net
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


On 2026-12-01 Tu 1:39 PM, Tom Lane wrote:
> 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.
>
>

I see your patch is already committed, so I'll leave it unless someone
else thinks it matters.

cheers

amdrew

--
Andrew Dunstan
EDB: https://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-12-01 19:23:41 Re: passwordcheck: Make the user name check case-insensitive
Previous Message Corey Huinker 2026-12-01 19:10:01 Re: postgres_fdw can crash on malformed remote results