Re: Support EXCEPT for TABLES IN SCHEMA publications - Mailing list pgsql-hackers

From Peter Smith
Subject Re: Support EXCEPT for TABLES IN SCHEMA publications
Date
Msg-id CAHut+PtzpgpeWkay9v_zfsLLeO7GirZnGqTUWm_hix+yFNiDvw@mail.gmail.com
Whole thread
In response to Re: Support EXCEPT for TABLES IN SCHEMA publications  (Nisha Moond <nisha.moond412@gmail.com>)
Responses Re: Support EXCEPT for TABLES IN SCHEMA publications
List pgsql-hackers
Hi Nisha.

I noticed multiple places where these patches want to discover the
root partition table OID, but they are not interested in the ancestor
tree.

I've created another thread/patch [1] to introduce a
`get_partition_root` C function. I think this could simplify some of
your code by removing the requirement to declare and free the unwanted
ancestor lists.

Please take a look and give your +1 there if you think it would be useful.

======
[1] https://www.postgresql.org/message-id/CAHut%2BPtc73UpWSn4teMyMxQoHwGJjRwhWiu%3DhGJqAj5k2AOXEw%40mail.gmail.com

Kind Regards,
Peter Smith.
Fujitsu Australia



pgsql-hackers by date:

Previous
From: Peter Smith
Date:
Subject: A new C function `get_partition_root`.
Next
From: vignesh C
Date:
Subject: Re: sequencesync worker race with REFRESH SEQUENCES