Re: FDW API: don't like the EXPLAIN mechanism

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Mark Mielke <mark(at)mark(dot)mielke(dot)cc>, Shigeru HANADA <hanada(at)metrosystems(dot)co(dot)jp>, Itagaki Takahiro <itagaki(dot)takahiro(at)gmail(dot)com>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: FDW API: don't like the EXPLAIN mechanism
Date: 2011-02-21 17:28:01
Message-ID: 25264.1298309281@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)net> writes:
> Regarding your other suggestion, the whole point I have been making is
> that if external modules can invent arbitrary nodes then we can't
> publish an XSD (or RelaxNG or DTD) spec that is worth anything at all.

Well, sure we can. But if you're using any external FDW, you'll need to
consult its documentation to see what additions it makes.

It may be sufficient to say something like "ForeignScan can have
unspecified additional children". Dunno if we can formalize that
in any useful way ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2011-02-21 17:47:54 Re: FDW API: don't like the EXPLAIN mechanism
Previous Message Andrew Dunstan 2011-02-21 17:12:04 Re: FDW API: don't like the EXPLAIN mechanism