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

From Tom Lane
Subject Re: [PATCH] Introduce unified support for composite GUC options
Date
Msg-id 2940305.1758565442@sss.pgh.pa.us
Whole thread Raw
In response to [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
=?utf-8?q?=D0=A7=D1=83=D0=BC=D0=B0=D0=BA_=D0=90=D0=BD=D1=82=D0=BE=D0=BD?= <a.chumak@postgrespro.ru> writes:
> This patch adds a unified mechanism for declaring and using composite configuration options in GUC, eliminating the
needto 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: plan shape work
Next
From: Tom Lane
Date:
Subject: Re: RFC: extensible planner state