Re: unexpected relkind: 73 ERROR with partition table index

2018-06-26 Thread Rajkumar Raghuwanshi
Thanks for fix and commit. It is working fine now. Thanks & Regards, Rajkumar Raghuwanshi QMG, EnterpriseDB Corporation On Tue, Jun 26, 2018 at 8:39 PM, Alvaro Herrera wrote: > On 2018-Jun-27, David Rowley wrote: > > > On 27 June 2018 at 00:18, Rajkumar Raghuwanshi > > wrote: > > > postgres=>

Re: unexpected relkind: 73 ERROR with partition table index

2018-06-26 Thread Alvaro Herrera
On 2018-Jun-27, David Rowley wrote: > On 27 June 2018 at 00:18, Rajkumar Raghuwanshi > wrote: > > postgres=> ALTER INDEX part_idx RENAME TO part_idx_renamed; > > ERROR: unexpected relkind: 73 > > Seems to be caused by the auth failure code path in > RangeVarCallbackForAlterRelation(). Ah, yeah

Re: unexpected relkind: 73 ERROR with partition table index

2018-06-26 Thread David Rowley
On 27 June 2018 at 00:18, Rajkumar Raghuwanshi wrote: > postgres=> ALTER INDEX part_idx RENAME TO part_idx_renamed; > ERROR: unexpected relkind: 73 Seems to be caused by the auth failure code path in RangeVarCallbackForAlterRelation(). Patch attached. -- David Rowley http:/