pgsql: Remove PushOverrideSearchPath() and PopOverrideSearchPath().

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove PushOverrideSearchPath() and PopOverrideSearchPath().
Date: 2023-08-01 00:05:14
Message-ID: E1qQcsz-0003rX-3Q@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove PushOverrideSearchPath() and PopOverrideSearchPath().

Since commit 681d9e4621aac0a9c71364b6f54f00f6d8c4337f, they have no in-tree
calls. Any new calls would introduce security vulnerabilities like the one
fixed in that commit.

Alexander Lakhin, reviewed by Aleksander Alekseev.

Discussion: https://postgr.es/m/8ffb4650-52c4-6a81-38fc-8f99be981130@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7c5c4e1c0396b0617a6f9b659dd7375fb0bfb9dc

Modified Files
--------------
src/backend/catalog/namespace.c | 233 +--------------------------------------
src/backend/commands/extension.c | 5 -
src/include/catalog/namespace.h | 2 -
src/tools/pgindent/typedefs.list | 1 -
4 files changed, 6 insertions(+), 235 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2023-08-01 13:40:17 pgsql: Fix overly strict Assert in jsonpath code
Previous Message Jeff Davis 2023-07-31 22:22:07 Re: pgsql: Fix search_path to a safe value during maintenance operations.