| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера