On Tue, Nov 3, 2015 at 8:15 AM, Kouhei Kaigai <kai...@ak.jp.nec.com> wrote: > A challenge is that junk wholerow references on behalf of ROW_MARK_COPY > are injected by preprocess_targetlist(). It is earlier than the main path > consideration by query_planner(), thus, it is not predictable how remote > query shall be executed at this point.
Oh, dear. That seems like a rather serious problem for my approach. > If ROW_MARK_COPY, base tuple image is fetched using this junk attribute. > So, here is two options if we allow to put joined tuple on either of > es_epqTuple[]. Neither of these sounds viable to me. I'm inclined to go back to something like what you proposed here: http://www.postgresql.org/message-id/9a28c8860f777e439aa12e8aea7694f80114b...@bpxm15gp.gisp.nec.co.jp -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers