pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Bryn Llewellyn <bryn@yugabyte.com>
To: Tom Lane PostgreSQL <tgl@sss.pgh.pa.us>
Cc: Pavel Stehule <pavel.stehule@gmail.com>
Cc: Christophe Pettus <xof@thebuild.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 16:33:43 -0700
Message-ID: <eded5913-b6dc-9957-c4b1-a3009a03f953@aklaver.com> (raw)
In-Reply-To: <48E1391E-5A21-4736-B4B1-8B9468ECAFD4@yugabyte.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>
	<51E0A66E-C09E-4F6F-8B53-BBB83F810F90@yugabyte.com>
	<1997258.1657048380@sss.pgh.pa.us>
	<48E1391E-5A21-4736-B4B1-8B9468ECAFD4@yugabyte.com>

On 7/5/22 15:08, Bryn Llewellyn wrote:

> I was informed by this precedent:
> 
> *truncate table u1.t1, t2;
> *
> It uses a comma-separated list of optionally qualified  SQL names.
> 
> And this:
> 
> «
> *CREATE SCHEMA schema_name ...
> *»

Those are creating objects. Set search_path is setting a configuration 
value.


> And then this:
> 
> «
> *SET [ SESSION | LOCAL ] configuration_parameter { TO | = } { value | 
> 'value' | DEFAULT }*
> 
> value — New value of parameter. Values can be specified as... 
> identifiers... or comma-separated lists of these, as appropriate for the 
> particular parameter...
> »
> 
> Notice that the token « value » in the syntax is not in quotes. I took 

Pretty sure it is:

{ TO | = } { value | 'value' | DEFAULT }





-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (31+ messages)  latest in thread

Message-ID: <eded5913-b6dc-9957-c4b1-a3009a03f953@aklaver.com>
Permalink:  ../eded5913-b6dc-9957-c4b1-a3009a03f953@aklaver.com/
Also on:    postgresql.org/message-id/eded5913-b6dc-9957-c4b1-a3009a03f953@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, bryn@yugabyte.com, tgl@sss.pgh.pa.us, pavel.stehule@gmail.com, xof@thebuild.com
  Subject: Re: Seems to be impossible to set a NULL search_path
  In-Reply-To: <eded5913-b6dc-9957-c4b1-a3009a03f953@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> <51E0A66E-C09E-4F6F-8B53-BBB83F810F90@yugabyte.com> <1997258.1657048380@sss.pgh.pa.us> <48E1391E-5A21-4736-B4B1-8B9468ECAFD4@yugabyte.com> <eded5913-b6dc-9957-c4b1-a3009a03f953@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