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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
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 05:17:52
Message-ID: 1520130.1796102272@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

(Apparently, we do not currently have any buildfarm members
running sepgsql's tests, hence no complaints from that
quarter. This isn't great.)

regards, tom lane

Attachment Content-Type Size
sepgsql-fix.patch text/x-diff 5.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Koshino Taiki 2026-12-01 05:19:17 Re: [PATCH] Improve tab completion after CREATE INDEX key list
Previous Message Chao Li 2026-12-01 05:17:01 Re: stale comment about locking in ExecInitModifyTable()