Re: fdw validation function vs zero catalog id

From: Martin Pihlak <martin(dot)pihlak(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: fdw validation function vs zero catalog id
Date: 2009-12-20 22:26:23
Message-ID: 4B2EA48F.1000005@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> According to what? I can't find any documentation whatsoever on what
> arguments that function is supposed to get.
>
> regards, tom lane
>

According to
http://www.postgresql.org/docs/8.4/static/sql-createforeigndatawrapper.html:

"The validator function must take two arguments: one of type text[], which
will contain the array of options as stored in the system catalogs, and one
of type oid, which will be the OID of the system catalog containing the
options, or zero if the context is not known."

regards,
Martin

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-12-20 22:43:40 Re: fdw validation function vs zero catalog id
Previous Message Tom Lane 2009-12-20 21:39:52 Re: Proposal: Pre ordered aggregates, default ORDER BY clause for aggregates - median support