Re: ERROR: permission info at index 1 .... - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: ERROR: permission info at index 1 ....
Date
Msg-id 20230213183307.s74ztxhpkwnvcbyv@alvherre.pgsql
Whole thread Raw
In response to Re: ERROR: permission info at index 1 ....  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 2023-Feb-13, Tom Lane wrote:

> tender wang <tndrwang@gmail.com> writes:
> >    After a61b1f74823c commit, below query reports error:
> >  create table perm_test1(a int);
> >  create table perm_test2(b int);
> >  select subq.c0
> > from (select (select a from perm_test1 order by a limit 1) as c0, b as c1
> > from perm_test2 where false order by c0, c1) as subq where false;
> > ERROR:  permission info at index 1 (with relid=16457) does not match
> > provided RTE (with relid=16460)
> 
> Yeah, this was also reported by Justin Pryzby [1].
> 
> > Below codes can fix this:
> 
> Right you are.  Pushed, thanks!

Thank you both!

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Jelte Fennema
Date:
Subject: Re: run pgindent on a regular basis / scripted manner
Next
From: Tom Lane
Date:
Subject: Re: Killing off removed rels properly