Re: [BUG] Fix DETACH with FK pointing to a partitioned table fails - Mailing list pgsql-hackers

From Tender Wang
Subject Re: [BUG] Fix DETACH with FK pointing to a partitioned table fails
Date
Msg-id CAHewXN=iWMKdeFM5ohaF473_vOYT9krUXB7OtcU3Tut-d7gJ=Q@mail.gmail.com
Whole thread Raw
In response to Re: [BUG] Fix DETACH with FK pointing to a partitioned table fails  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
List pgsql-hackers


Alvaro Herrera <alvherre@alvh.no-ip.org> 于2024年7月19日周五 21:18写道:

I find this pair of queries useful; they show which constraints exist
and which triggers belong to each.  We need to make the constraints and
triggers match after a detach right as things would be if the
just-detached partition were an individual table having the same foreign
key.

I don't find the useful queries in your last email. Can you provide them.
Thanks. 


--
Tender Wang

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: xid_wraparound tests intermittent failure.
Next
From: Michael Paquier
Date:
Subject: Re: Normalize queries starting with SET for pg_stat_statements