Re: Reserving GUC prefixes from a non-preloaded DB extension is not always enforced

2024-06-14 Thread Laurenz Albe
On Thu, 2024-06-13 at 12:26 -0700, Narek Galstyan wrote: > I am an extension developer. I use `MarkGUCPrefixReserved` to reserve GUC > prefixes, > which my extension uses to help avoid accidentally misspelled config-file > entries. > > However, since the reservation happens in `_PG_init()` and `

Re: Reserving GUC prefixes from a non-preloaded DB extension is not always enforced

2024-06-13 Thread Tom Lane
Narek Galstyan writes: > I am an extension developer. I use `MarkGUCPrefixReserved` to reserve GUC > prefixes, which my extension uses to help avoid accidentally misspelled > config-file entries. > However, since the reservation happens in `_PG_init()` and `_PG_init()` is > not called until the f

Reserving GUC prefixes from a non-preloaded DB extension is not always enforced

2024-06-13 Thread Narek Galstyan
Hi all, I am an extension developer. I use `MarkGUCPrefixReserved` to reserve GUC prefixes, which my extension uses to help avoid accidentally misspelled config-file entries. However, since the reservation happens in `_PG_init()` and `_PG_init()` is not called until the first use of an API expose