Call FDW validator functions even when the options list is empty.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c639d240c00f8d2b6684c03597b30d179d4ab31c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2011-07-05T22:21:28Z
Releases: 9.1.0
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.

Files

PathChange+/−
src/backend/commands/foreigncmds.c modified +12 −2