Re: fdw validation function vs zero catalog id - Mailing list pgsql-hackers

From Martin Pihlak
Subject Re: fdw validation function vs zero catalog id
Date
Msg-id 4B2EA48F.1000005@gmail.com
Whole thread Raw
In response to Re: fdw validation function vs zero catalog id  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: fdw validation function vs zero catalog id  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Michael Glaesemann
Date:
Subject: Re: creating index names automatically?
Next
From: Tom Lane
Date:
Subject: Re: fdw validation function vs zero catalog id