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

pgsql: Call FDW validator functions even when the options list isempty

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Call FDW validator functions even when the options list isempty
Date: 2011-07-05 22:46:19
Message-ID: E1QeENn-0003p0-P6@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Call FDW validator functions even when the options list is empty.

This is useful since a validator might want to require certain options
to be provided.  The passed array is an empty text array in this case.

Per suggestion by Laurenz Albe, though this is not quite his patch.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c639d240c00f8d2b6684c03597b30d179d4ab31c

Modified Files
--------------
src/backend/commands/foreigncmds.c |   14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2011-07-06 14:13:55
Subject: pgsql: Attempt to standardize formatting of psql queries.
Previous:From: Peter EisentrautDate: 2011-07-05 20:02:13
Subject: pgsql: Message style improvements of errmsg_internal() calls

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