| From: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com> |
|---|---|
| To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Improving GUC prefix ownership for extensions |
| Date: | 2026-02-11 16:26:11 |
| Message-ID: | CAN4CZFN8n=W3N5rra4tVqGpT=kDkTCW6Shh6ZmGoNgVs7vBfCg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> Do we really want the grief of making it mandatory?
I didn't suggest making it mandatory - the current patch I attached is
completely opt-in (default setting is exactly how it works currently,
DBAs have to opt in by changing it).
What I mentioned is that we could make it opt-out
1. by making the warning the default, which still allows everything
allowed currently, and doesn't change behavior at all, other than
writing a few warnings to the logs
2. and later maybe changing it to a more strict default, but still
keeping the GUC, so users can opt out
But that part is optional, we could simply leave it completely relaxed
by default.
My reasoning for making the warning the default is to encourage
extension developers to properly reserve GUC prefixes, without causing
compatibility problems for users - but I'm not sure about that, that's
why I submitted the patch with "off" default.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Viktor Holmberg | 2026-02-11 16:28:31 | Re: ON CONFLICT DO SELECT (take 3) |
| Previous Message | Dean Rasheed | 2026-02-11 16:11:15 | Re: ON CONFLICT DO SELECT (take 3) |