Re: Small fix for _equalValue()

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: Small fix for _equalValue()
Дата
Msg-id 3C879717.4C698966@fourpalms.org
обсуждение исходный текст
Ответ на Small fix for _equalValue()  (Fernando Nasser <fnasser@redhat.com>)
Список pgsql-patches
...
> Someone is using NULL strings in gram.y, like in:
>     n->args = makeList1(makeStringConst($4, NULL));
> there are several instances of it, all related to variable set.
> Well, NULL is a valid value for a (char *) so this seems legal
> enough to me.

Ah, that was me, to allow comma-delimited lists of parameters to be sent
to the SET handling code. In previous versions, multi-parameter
arguments had to be enclosed in quotes. For most of the SET variables,
lists aren't indicated, but I wanted to use the list for all cases to
minimize the special cases downstream.

If this should be done differently I'm happy for suggestions...

                    - Thomas

В списке pgsql-patches по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Small fix for _equalValue()
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Small fix for _equalValue()