public inbox for [email protected]
help / color / mirror / Atom feedFrom: Alvaro Herrera <[email protected]>
To: Tom Lane <[email protected]>
Cc: tender wang <[email protected]>
Cc: [email protected]
Subject: Re: ERROR: permission info at index 1 ....
Date: Mon, 13 Feb 2023 19:33:07 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On 2023-Feb-13, Tom Lane wrote:
> tender wang <[email protected]> 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/
view thread (2+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: ERROR: permission info at index 1 ....
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox