public inbox for [email protected]
help / color / mirror / Atom feedFrom: Julien Rouhaud <[email protected]>
To: Tom Lane <[email protected]>
Cc: David Steele <[email protected]>
Cc: Amit Langote <[email protected]>
Cc: Pg Hackers <[email protected]>
Subject: Re: Views no longer in rangeTabls?
Date: Sat, 10 Jun 2023 21:18:57 +0800
Message-ID: <20230610131857.cqrsm6pwq3k47yuv@jrouhaud> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
<CA+HiwqFC0xDCCiXbUjb-xisxo9PPuA8_ykn8Fz+6RbBJBE8mVA@mail.gmail.com>
<[email protected]>
<[email protected]>
<[email protected]>
<CA+HiwqFaMfM-082vwNYSAWU13T9nd62DObeNLbSTisSh6odOog@mail.gmail.com>
<[email protected]>
<[email protected]>
On Sat, Jun 10, 2023 at 08:56:47AM -0400, Tom Lane wrote:
>
> Well, if we're gonna do it we should do it for v16, rather than
> change the data structure twice. It wouldn't be hard exactly:
>
> /*
> * Clear fields that should not be set in a subquery RTE. Note that we
> * leave the relid, rellockmode, and perminfoindex fields set, so that the
> * view relation can be appropriately locked before execution and its
> * permissions checked.
> */
> - rte->relkind = 0;
> rte->tablesample = NULL;
> rte->inh = false; /* must not be set for a subquery */
>
> plus adjustment of that comment and probably also the comment
> for struct RangeTblEntry.
and also handle that field in (read|out)funcs.c
view thread (11+ messages) latest in thread
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], [email protected]
Subject: Re: Views no longer in rangeTabls?
In-Reply-To: <20230610131857.cqrsm6pwq3k47yuv@jrouhaud>
* 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