Re: Seems to be impossible to set a NULL search_path

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Bryn Llewellyn <bryn(at)yugabyte(dot)com>, pgsql-general list <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Seems to be impossible to set a NULL search_path
Date: 2022-07-05 18:18:29
Message-ID: 0c649c8e-dfff-7dea-908a-7b68611fd18f@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 7/5/22 11:12 AM, Bryn Llewellyn wrote:
> The section "Writing SECURITY DEFINER Functions Safely":
>
> https://www.postgresql.org/docs/current/sql-createfunction.html#id-1.9.3.67.10.2
>

> Finally, what do you think of a possible future enhancement to allow setting a null search_path?
>

set search_path = '';

show search_path ;
search_path
-------------
""

\d
Did not find any relations.

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Christophe Pettus 2022-07-05 18:18:36 Re: Seems to be impossible to set a NULL search_path
Previous Message David G. Johnston 2022-07-05 18:14:07 Re: How to upgrade postgres version 8 to 13