Re: pub/sub - specifying optional parameters without values.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pub/sub - specifying optional parameters without values.
Дата
Msg-id 966588.1675119343@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pub/sub - specifying optional parameters without values.  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: pub/sub - specifying optional parameters without values.  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
Peter Smith <smithpb2250@gmail.com> writes:
> I'd forgotten about the 'streaming' option -- AFAIK this was
> previously a boolean parameter and so its [= value] part can also be
> omitted. However, in PG16 streaming became an enum type
> (on/off/parallel), and the value can still be omitted but that is not
> really being covered by the new generic text note about booleans added
> by yesterday's patch.

Hmph.  I generally think that options defined like this (it's a boolean,
except it isn't) are a bad idea, and would prefer to see that API
rethought while we still can.

            regards, tom lane



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

Предыдущее
От: Peter Smith
Дата:
Сообщение: Re: pub/sub - specifying optional parameters without values.
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: recovery modules