pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Bryn Llewellyn <bryn@yugabyte.com>
Cc: pgsql-general list <pgsql-general@lists.postgresql.org>
Subject: Re: Seems to be impossible to set a NULL search_path
Date: Tue, 5 Jul 2022 11:28:18 -0700
Message-ID: <593de6cc-08df-bbcb-5164-8796db554851@aklaver.com> (raw)
In-Reply-To: <CAFj8pRA2fHFe-zqxnuR27MVGE+waKWsPoDAVD3W3iMj9TTFDjw@mail.gmail.com>
References: <4B5F24E6-2FF9-4964-BF07-C609DC38E377@yugabyte.com>
	<0c649c8e-dfff-7dea-908a-7b68611fd18f@aklaver.com>
	<CAFj8pRA2fHFe-zqxnuR27MVGE+waKWsPoDAVD3W3iMj9TTFDjw@mail.gmail.com>

On 7/5/22 11:24 AM, Pavel Stehule wrote:

>      >
> 
>     set search_path = '';
> 
>     show search_path ;
>        search_path
>     -------------
>        ""
> 
>     \d
>     Did not find any relations.
> 
> 
> But still in this case, there is pg_catalog in search path.

Yes but from OP:

"I've confirmed that even a superuser cannot create objects in a 
"special" schema like "pg_catalog" or "pg_toast". So this gives me a 
workaround to the limitation that I cannot force the use of fully 
qualified names by setting a null search_path: I could set the attribute 
of my subprogram to "pg_catalog"."

So Bryn Llewellyn does not seem to be concerned about that.

> 
> Regards
> 
> Pavel
> 
> 
> 
>     -- 
>     Adrian Klaver
>     adrian.klaver@aklaver.com <mailto:adrian.klaver@aklaver.com>
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (31+ messages)  latest in thread

Message-ID: <593de6cc-08df-bbcb-5164-8796db554851@aklaver.com>
Permalink:  ../593de6cc-08df-bbcb-5164-8796db554851@aklaver.com/
Also on:    postgresql.org/message-id/593de6cc-08df-bbcb-5164-8796db554851@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, pavel.stehule@gmail.com, bryn@yugabyte.com
  Subject: Re: Seems to be impossible to set a NULL search_path
  In-Reply-To: <593de6cc-08df-bbcb-5164-8796db554851@aklaver.com>
  References: <4B5F24E6-2FF9-4964-BF07-C609DC38E377@yugabyte.com> <0c649c8e-dfff-7dea-908a-7b68611fd18f@aklaver.com> <CAFj8pRA2fHFe-zqxnuR27MVGE+waKWsPoDAVD3W3iMj9TTFDjw@mail.gmail.com> <593de6cc-08df-bbcb-5164-8796db554851@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox