Re: partition tree inspection functions - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: partition tree inspection functions
Date
Msg-id CAEepm=2MFQWr8uGjDQT-Ho7Xao8gPe__EvB4d1yPdXMUqO-bHQ@mail.gmail.com
Whole thread Raw
In response to Re: partition tree inspection functions  (Thomas Munro <thomas.munro@enterprisedb.com>)
Responses Re: partition tree inspection functions
List pgsql-hackers
On Wed, Aug 8, 2018 at 11:21 PM, Thomas Munro
<thomas.munro@enterprisedb.com> wrote:
> On Tue, Aug 7, 2018 at 7:32 PM, Amit Langote
> <Langote_Amit_f8@lab.ntt.co.jp> wrote:
>> Attached updated patch adds isleaf to pg_partition_children's output.
>
> Hmm, I wonder where this garbage is coming from:

partition.c:437:3: error: array index 3 is past the end of the array
(which contains 3 elements) [-Werror,-Warray-bounds]

That'll do it.  Also:

partition.c:409:19: error: implicit declaration of function
'get_rel_relkind' is invalid in C99
[-Werror,-Wimplicit-function-declaration]

-- 
Thomas Munro
http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: TupleTableSlot abstraction
Next
From: Tomas Vondra
Date:
Subject: Re: [PATCH] Improve geometric types