]> granicus.if.org Git - postgresql/commit
Call FDW validator functions even when the options list is empty.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Jul 2011 22:21:12 +0000 (18:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Jul 2011 22:21:28 +0000 (18:21 -0400)
commitc639d240c00f8d2b6684c03597b30d179d4ab31c
tree3b4c502b2127191cf670b009e2944ee080667313
parent457333d5c2f95e9448a2366dab55aab74514295c
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.
src/backend/commands/foreigncmds.c