From: | Robert Haas <robertmhaas(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Andrey Lepikhov <a(dot)lepikhov(at)postgrespro(dot)ru>, PostgreSQL-Dev <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Do CustomScan as not projection capable node |
Date: | 2019-04-22 13:40:27 |
Message-ID: | CA+Tgmobf7GocuuD_KLqKj-pMRGVSxLL8=vsVwXZg_fojG2gkrg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, Apr 19, 2019 at 12:45 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> I don't buy this for a minute. Where do you think projection is
> going to happen? There isn't any existing node type that *couldn't*
> support projection if we insisted that that be done across-the-board.
> I think it's mostly just a legacy thing that some don't.
I think there may actually be some good reasons for that. If
something like an Append or Material node projects, it seems to me
that this means that we built the wrong tlist for its input(s).
That justification doesn't apply to custom scans, though.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
From | Date | Subject | |
---|---|---|---|
Next Message | David Fetter | 2019-04-22 13:45:32 | Re: [PATCH v1] Add \echo_stderr to psql |
Previous Message | David Rowley | 2019-04-22 13:27:00 | Re: display of variables in EXPLAIN VERBOSE |