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
Branch
------
REL_17_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/2fe4167bc6f2a446eb3112bab14ae98958e490f4
Modified Files
--------------
src/backend/catalog/namespace.c | 28 +++++++++++++++++++---------
1 file changed, 19 insertions(+), 9 deletions(-)