]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix search_path cache initialization.
authorJeff Davis <jdavis@postgresql.org>
Tue, 8 Oct 2024 00:54:19 +0000 (17:54 -0700)
committerJeff Davis <jdavis@postgresql.org>
Tue, 8 Oct 2024 00:54:19 +0000 (17:54 -0700)
commit2fe4167bc6f2a446eb3112bab14ae98958e490f4
treeae91d94015c23bb87dd509c3d9195f8462eeefa3
parenta8b2402041c79a16a0c5e0c5498f9f0e242f87f3
Fix search_path cache initialization.

The cache needs to be available very early, so don't rely on
InitializeSearchPath() to initialize the it.

Reported-by: Murat Efendioğlu
Discussion: https://postgr.es/m/CACbCzujQ4zS8MM1bx-==+tr+D3Hk5G1cjN4XkUQ+Q=cEpwhzqg@mail.gmail.com
Backpatch-through: 17
src/backend/catalog/namespace.c