pgsql: Fix search_path cache initialization.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix search_path cache initialization.
Date: 2024-10-08 01:05:26
Message-ID: E1sxyfG-002cq0-2E@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-10-08 01:53:29 pgsql: Improve style of two code paths
Previous Message Jeff Davis 2024-10-08 01:05:19 pgsql: Fix search_path cache initialization.