Re: [HACKERS] RENAME RULE doesn't work with partitioned tables

2017-04-11 Thread Amit Langote
On 2017/04/12 2:20, Robert Haas wrote: > On Tue, Apr 11, 2017 at 5:54 AM, Amit Langote > wrote: >> Just noticed that RangeVarCallbackForRenameRule() was not updated to >> handle partitioned tables, causing the following bug: >> >> create table parted_table (a int) partition by list (a); >> create

Re: [HACKERS] RENAME RULE doesn't work with partitioned tables

2017-04-11 Thread Robert Haas
On Tue, Apr 11, 2017 at 5:54 AM, Amit Langote wrote: > Just noticed that RangeVarCallbackForRenameRule() was not updated to > handle partitioned tables, causing the following bug: > > create table parted_table (a int) partition by list (a); > create table part partition of parted_table for values

[HACKERS] RENAME RULE doesn't work with partitioned tables

2017-04-11 Thread Amit Langote
Just noticed that RangeVarCallbackForRenameRule() was not updated to handle partitioned tables, causing the following bug: create table parted_table (a int) partition by list (a); create table part partition of parted_table for values in (1); create rule parted_table_insert as on insert to parted_