Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8s3I-0008E6-Op for pgsql-general@arkaria.postgresql.org; Tue, 05 Jul 2022 23:33:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o8s3H-0006bP-Fr for pgsql-general@arkaria.postgresql.org; Tue, 05 Jul 2022 23:33:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8s3G-0006bG-9r for pgsql-general@lists.postgresql.org; Tue, 05 Jul 2022 23:33:55 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8s3C-0008TR-OI for pgsql-general@lists.postgresql.org; Tue, 05 Jul 2022 23:33:53 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 70A74320015C; Tue, 5 Jul 2022 19:33:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Tue, 05 Jul 2022 19:33:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to; s=fm1; t=1657064025; x= 1657150425; bh=NAAqbXYZYlpLlRI5BItxhemgy84cTN1magzGSagj5Uw=; b=O y0uC47X3HTx97uQmoPb28aXUkDc5lxJ/2+wNw+zdyy/X9XQaqWtXmqKQhJsof/fQ cDQeQ9urmxARiixxGBuOUUxp0KKSzCJZFRmAmlxPm4bYz3ApLryibCKT806I1SO0 e45OFNxyE/QMw0pyYAqZwRuwHtm7lMztXrhVmcfoYCgsaMWhcRM7k4lTes6PG+ba 4BmhL+bE5H49oWMkTErVqamfmCLTbvwMht4DR0aiG7NW593wFxdkFdzuGbPsrqR5 cEYUnl4eMgOSyVWUXOSHDiWpHgMDDsyV30UpD0kfA+4+3X10z1j+PpA3kMc8YDew DW2cujK9eEq7wFGW/OaBQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1657064025; x= 1657150425; bh=NAAqbXYZYlpLlRI5BItxhemgy84cTN1magzGSagj5Uw=; b=O 8gdBn0M/9W48361Y7OseOamKGgPBerZMfeRngJ7yxbUuP34iogTq1QHW44o+KcLa sOk4RBdV/T8X0mVQNI0wB3AzBycynRgpWrV6VWATzHXBmgy/4ReHP8n0H/tFdJEO khs5gunYzZ3w2y8VermflDpnngPWaS1fpa0UhTsP7jIKfkKntoovSoPimlmbiAxE I3AbU71tWVm5mwonj3Ot2hPo8efjcM0/nsfk8lBnFQ7QT1nKfmkEhr0SKkEvh7EZ H/2x94zxpnW4YDbAJEOy/i6fi/L0qwIk+zd6ypnTcl9y3rvawPq8HLIejK+JkIeA 7Vr1LncBYCT8mtWSvPQGg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeivddgvdduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhephedugfethfettdehieevteeukedtjedvhfevkefg udefgeevteduvdeuvdeggeegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 19:33:44 -0400 (EDT) Message-ID: Date: Tue, 5 Jul 2022 16:33:43 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: Seems to be impossible to set a NULL search_path Content-Language: en-US To: Bryn Llewellyn , Tom Lane PostgreSQL Cc: Pavel Stehule , Christophe Pettus , pgsql-general list References: <4B5F24E6-2FF9-4964-BF07-C609DC38E377@yugabyte.com> <0c649c8e-dfff-7dea-908a-7b68611fd18f@aklaver.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> From: Adrian Klaver In-Reply-To: <48E1391E-5A21-4736-B4B1-8B9468ECAFD4@yugabyte.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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