Re: Declarative partitioning - Mailing list pgsql-hackers

From Thom Brown
Subject Re: Declarative partitioning
Date
Msg-id CAA-aLv5RKYh=D1BL3WB=DrvsOAEbPn5trZkBiBVQ9TjO=xCJPw@mail.gmail.com
Whole thread Raw
In response to Re: Declarative partitioning  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: Declarative partitioning  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-hackers
On 18 August 2015 at 12:23, Amit Langote <amitlangote09@gmail.com> wrote:
> Hi Thom,
>
> On Tue, Aug 18, 2015 at 8:02 PM, Thom Brown <thom@linux.com> wrote:
>>
>>
>> Wow, didn't expect to see that email this morning.
>>
>> A very quick test:
>>
>> CREATE TABLE purchases (purchase_id serial, purchase_time timestamp, item
>> text) partition by range on ((extract(year from
>> purchase_time)),(extract(month from purchase_time)));
>> ERROR:  referenced relation "purchases" is not a table or foreign table
>>
>
> Thanks for the quick test.
>
> Damn, I somehow missed adding the new relkind to a check in
> process_owned_by(). Will fix this and look for any such oversights.

This doesn't seem to have materialised.  Are you still working on this?

Thom



pgsql-hackers by date:

Previous
From: David Fetter
Date:
Subject: Re: [COMMITTERS] pgsql: Tab complete CREATE EXTENSION .. VERSION.
Next
From: Amit Langote
Date:
Subject: Re: Declarative partitioning