Skip site navigation (1) Skip section navigation (2)

Re: Join push-down for foreign tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Shigeru Hanada <shigeru(dot)hanada(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Join push-down for foreign tables
Date: 2011-08-30 15:29:02
Message-ID: 17066.1314718142@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Shigeru Hanada <shigeru(dot)hanada(at)gmail(dot)com> writes:
> BTW, Is adding foreign server oid to RelOptInfo acceptable?

No objection here.

> This field
> is set in build_simple_rel() or build_join_rel() if the RelOptInfo
> itself is a foreign scan, or it is a foreign join and both inner and
> outer RelOptInfo have same and valid foreign server oid.

I think you mean "if all the base rels in the join rel come from the
same foreign server".

			regards, tom lane

In response to

pgsql-hackers by date

Next:From: Robert HaasDate: 2011-08-30 15:40:33
Subject: Re: Inputting relative datetimes
Previous:From: Magnus HaganderDate: 2011-08-30 14:43:16
Subject: Re: compile from git repository

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group