Re: [PATCH] Introduce unified support for composite GUC options

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: [PATCH] Introduce unified support for composite GUC options
Дата
Msg-id CAFj8pRCcUHQt5UAjM9eSdst196U1c+HFr4T326AVuErxYxJGMw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Introduce unified support for composite GUC options  (Чумак Антон <a.chumak@postgrespro.ru>)
Ответы Re: [PATCH] Introduce unified support for composite GUC options
Список pgsql-hackers
Hi

what is use case for this?

Regards

Pavel


po 22. 9. 2025 v 8:55 odesílatel Чумак Антон <a.chumak@postgrespro.ru> napsal:

Hello hackers,

The new version of the patch adds support for multi-line writing of composite type values in the postgresql.conf file. Hidden fields have also been added. Such fields may be required to protect the private part of the state of a composite option from an external user. In order for the field to be hidden, the composite type signature must describe only the field type without the field name. 

Please note that all allocated resources used within hidden fields should use only guc_malloc. This is necessary to automatically release resources.

The patch applies cleanly to the master (9fc7f6ab7226d7c9dbe4ff333130c82f92749f69)

Best regards,
Anton Chumak
 

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