public inbox for [email protected]
help / color / mirror / Atom feedFrom: David Steele <[email protected]>
To: Amit Langote <[email protected]>
Cc: Pg Hackers <[email protected]>
Cc: Tom Lane <[email protected]>
Subject: Re: Views no longer in rangeTabls?
Date: Sat, 10 Jun 2023 10:30:29 +0300
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+HiwqFaMfM-082vwNYSAWU13T9nd62DObeNLbSTisSh6odOog@mail.gmail.com>
References: <[email protected]>
<CA+HiwqFC0xDCCiXbUjb-xisxo9PPuA8_ykn8Fz+6RbBJBE8mVA@mail.gmail.com>
<[email protected]>
<[email protected]>
<[email protected]>
<CA+HiwqFaMfM-082vwNYSAWU13T9nd62DObeNLbSTisSh6odOog@mail.gmail.com>
On 6/10/23 09:57, Amit Langote wrote:
> On Sat, Jun 10, 2023 at 15:51 David Steele <[email protected]
> <mailto:[email protected]>> wrote:
> On 6/9/23 19:14, Tom Lane wrote:
> >
> > If you see "rte->rtekind == RTE_SUBQUERY && OidIsValid(rte->relid)",
> > it's dead certain that relid refers to a view, so you could just wire
> > in that knowledge.
>
> Yeah, that's a good trick. Even so, I wonder why relkind is not set
> when
> relid is set?
>
> I too have been thinking that setting relkind might be a good idea, even
> if only as a crosscheck that only view relations can look like that in
> the range table.
+1. Even better if we can do it for PG16.
Regards,
-David
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]
Subject: Re: Views no longer in rangeTabls?
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