Re: unexpected relkind: 73 ERROR with partition table index - Mailing list pgsql-hackers

From David Rowley
Subject Re: unexpected relkind: 73 ERROR with partition table index
Date
Msg-id CAKJS1f_EJhgmxaEneEKszx2ze4Z0y2op9XEswqg659wjjGdNWA@mail.gmail.com
Whole thread Raw
In response to unexpected relkind: 73 ERROR with partition table index  (Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>)
Responses Re: unexpected relkind: 73 ERROR with partition table index
List pgsql-hackers
On 27 June 2018 at 00:18, Rajkumar Raghuwanshi
<rajkumar.raghuwanshi@enterprisedb.com> 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://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Arthur Zakirov
Date:
Subject: Re: [PROPOSAL] Nepali Snowball dictionary
Next
From: Darafei "Komяpa" Praliaskouski
Date:
Subject: Re: [HACKERS] GUC for cleanup indexes threshold.