Re: pg_partition_tree crashes for a non-defined relation
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Amit Langote <Langote_Amit_f8@lab.ntt.co.jp>
Cc: Stephen Frost <sfrost@snowman.net>, Tom Lane <tgl@sss.pgh.pa.us>, Postgres hackers <pgsql-hackers@postgresql.org>
Date: 2018-12-14T00:27:24Z
Lists: pgsql-hackers
On Thu, Dec 13, 2018 at 03:34:56PM +0900, Amit Langote wrote: > Thank you Michael for taking care of this. I agree with the consensus > that instead of throwing an error for unsupported relkinds, > pg_partition_tree should rather return single row containing NULL for all > columns. Cool, thanks for confirming! If there are complains on the matter, let's of course tune it again if necessary before the release. There is still time for that. -- Michael
Commits
-
Test partition functions with legacy inheritance children, too
- d12fbe2f8e5d 12.0 landed
-
Consider only relations part of partition trees in partition functions
- 3422955735d9 12.0 landed
-
Make pg_partition_tree return no rows on unsupported and undefined objects
- 0f3cdf873e7d 12.0 landed
-
Tweak pg_partition_tree for undefined relations and unsupported relkinds
- cc53123bcc9d 12.0 landed