pgsql: Call FDW validator functions even when the options list is empty

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 is empty
Date: 2011-07-05 22:46:19
Message-ID: E1QeENn-0003ov-J9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2e56fa863221d60d8bf8a8b946aaf8ba28ed05e7

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

Browse pgsql-committers by date

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