Re: pg_partition_tree crashes for a non-defined relation - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_partition_tree crashes for a non-defined relation
Date
Msg-id 20190302092154.GB1602@paquier.xyz
Whole thread Raw
In response to Re: pg_partition_tree crashes for a non-defined relation  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_partition_tree crashes for a non-defined relation
List pgsql-hackers
On Fri, Mar 01, 2019 at 11:38:20AM -0500, Tom Lane wrote:
> Right, while you'd get zero rows out for a non-partitioned table.
> WFM.

Exactly.  I have committed a patch doing exactly that, and I have
added test cases with a partitioned table and a partitioned index
which have no partitions.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: [PATCH 0/3] Introduce spgist quadtree @<(point,circle) operator
Next
From: Michael Paquier
Date:
Subject: Re: Looks heap_create_with_catalog ignored the if_not_exists options