Re: BUG #18963: Column confupdsetcols missing in pg_catalog.pg_constraint

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: grosser(dot)meister(dot)morti(at)gmx(dot)net
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18963: Column confupdsetcols missing in pg_catalog.pg_constraint
Date: 2025-06-20 15:14:59
Message-ID: 1939224.1750432499@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> Foreign key constraints have the option to list the columns that should be
> changed in ON DELETE/ON UPDATE SET NULL/SET DEFAULT. For the ON DELETE case
> these columns can be inspected with pg_catalog.pg_constraint.confdelsetcols,
> but there is no such column for the ON UPDATE case. Is this an oversight?

It's intentional, see here:

https://www.postgresql.org/message-id/flat/85f8fcae-5a85-0d81-ae72-12c8a5cb271e%40enterprisedb.com#b7a607d6496828fd21caf2b6bd2b0f07

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2025-06-20 17:42:06 BUG #18965: Issue with Short-Circuit Evaluation in Boolean Expressions
Previous Message PG Bug reporting form 2025-06-20 12:24:20 BUG #18964: `ALTER DATABASE ... RESET ...` fails to reset extension parameters that no longer exist