Re: [PATCH] Introduce unified support for composite GUC options - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: [PATCH] Introduce unified support for composite GUC options
Date
Msg-id CAFj8pRCcUHQt5UAjM9eSdst196U1c+HFr4T326AVuErxYxJGMw@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Introduce unified support for composite GUC options  (Чумак Антон <a.chumak@postgrespro.ru>)
Responses Re: [PATCH] Introduce unified support for composite GUC options
List 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 by date:

Previous
From: Чумак Антон
Date:
Subject: Re: [PATCH] Introduce unified support for composite GUC options
Next
From: Fujii Masao
Date:
Subject: Re: Documentation fix on pgbench \aset command