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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Call FDW validator functions even when the options list is empty
Дата
Msg-id E1QeENn-0003p0-P6@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Make the file_fdw validator check that a filename option has bee
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Attempt to standardize formatting of psql queries.