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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Чумак Антон <a(dot)chumak(at)postgrespro(dot)ru>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH] Introduce unified support for composite GUC options
Date: 2025-09-22 18:24:02
Message-ID: 2940305.1758565442@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

=?utf-8?q?=D0=A7=D1=83=D0=BC=D0=B0=D0=BA_=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= <a(dot)chumak(at)postgrespro(dot)ru> writes:
> This patch adds a unified mechanism for declaring and using composite configuration options in GUC, eliminating the need to write a custom parser for each new complex data type.  New syntax for end user is json-like.

TBH, I think this is a bad idea altogether. GUCs that would need
this are probably poorly designed in the first place; we should not
encourage inventing more. I also don't love adding thousands of
lines of code without any use-case at hand.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-09-22 19:51:51 Re: RFC: extensible planner state
Previous Message Tom Lane 2025-09-22 18:15:22 Re: plan shape work