Fix MarkGUCPrefixReserved() to check all options.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: a5f312c58d67bcad622a1582776c20643c7dd43b
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2023-07-06T10:05:25Z
Releases: 15.4
Fix MarkGUCPrefixReserved() to check all options.

This bug was only present on v15. MarkGUCPrefixReserved() is new in
v15, and in v16, it was rewritten to use a hash table and the new
implementation did not have this bug.

Author: Karina Litskevich, Ekaterina Sokolova
Discussion: https://www.postgresql.org/message-id/CACiT8ibqyC=_g1n6FXyFJvFW0BEjAH3_5aGqUSFeEp8GpnVrhw@mail.gmail.com

Files

PathChange+/−
src/backend/utils/misc/guc.c modified +1 −0

Discussion