Re: set_config with is_local parameter true escapes transaction boundaries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: set_config with is_local parameter true escapes transaction boundaries
Дата
Msg-id 392925.1673397546@sss.pgh.pa.us
обсуждение исходный текст
Ответ на set_config with is_local parameter true escapes transaction boundaries  (Ruslan Talpa <ruslan.talpa@subzero.cloud>)
Ответы Re: set_config with is_local parameter true escapes transaction boundaries
Список pgsql-bugs
Ruslan Talpa <ruslan.talpa@subzero.cloud> writes:
> When executing set_config with the parameter ‘is_local’ set to true within a transaction, it is expected that the
configvalue is not available after the transaction however once the config is set in any transaction, current_setting
willreturn an empty string instead of null 

The GUC infrastructure doesn't recognize null as a value, so you
are making a distinction that the system doesn't.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [OT] Microsoft: Kubernetes clusters hacked in malware campaign via PostgreSQL
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: pg_logical_slot_peek_changes with slots created with pglogical_output missed DML records,