Re: BUG #14505: explain verbose for postgresql_fdw

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Pg Bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #14505: explain verbose for postgresql_fdw
Date: 2017-01-20 16:40:40
Message-ID: CAMkU=1z1H0v_9JTMVVqS3Z8mNnY-VSW2WOrOgQ+w42YQ1LC8Vw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Wed, Jan 18, 2017 at 5:27 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> jeff(dot)janes(at)gmail(dot)com writes:
> > The "Output:" line of explain verbose lists columns of foreign table that
> > are not actually output, or at least ought not be output.
>
> That's an optimization to avoid an unnecessary projection step. It has
> nothing to do with what's retrieved from the remote, and for that matter
> it's not specific to foreign tables.
>

Is all of that data actually being transferred from the foreign to the
local? If so, I don't think the optimization is a good choice in this
case. Do you know where can I find the relevant source code which decides
on this?

Cheers,

Jeff

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-01-20 16:55:47 Re: BUG #14505: explain verbose for postgresql_fdw
Previous Message yoonghm 2017-01-20 14:19:17 BUG #14507: Update start-scripts/linux for missing LSG tags and overrides