Re: CREATE FOREGIN TABLE LACUNA

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Fetter <david@fetter.org>
Cc: Robert Haas <robertmhaas@gmail.com>, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2012-03-14T15:20:53Z
Lists: pgsql-hackers
David Fetter <david@fetter.org> writes:
> I didn't do INHERITS because most FDWs won't ever have that concept,
> i.e. aren't PostgreSQL.

What's that have to do with it?  Inheritance would be a local
association of tables, having nothing to do with what the remote end is.
IOW, if c inherits from p, that means to scan c as well in "SELECT FROM
p".  We can do this regardless of whether c or p or both are foreign
tables.

			regards, tom lane