pgsql: Fix search_path cache initialization. - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Fix search_path cache initialization.
Date
Msg-id E1sxyfG-002cq0-2E@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Jeff Davis
Date:
Subject: pgsql: Fix search_path cache initialization.
Next
From: Michael Paquier
Date:
Subject: pgsql: Improve style of two code paths