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 1o8n89-0003wS-MA for pgsql-general@arkaria.postgresql.org; Tue, 05 Jul 2022 18:18:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o8n88-0005jL-Gx for pgsql-general@arkaria.postgresql.org; Tue, 05 Jul 2022 18:18:36 +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 1o8n88-0005jB-6e for pgsql-general@lists.postgresql.org; Tue, 05 Jul 2022 18:18:36 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o8n85-0005uj-KZ for pgsql-general@lists.postgresql.org; Tue, 05 Jul 2022 18:18:35 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id A43C53200583; Tue, 5 Jul 2022 14:18:31 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 05 Jul 2022 14:18:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= 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=1657045111; x= 1657131511; bh=gFRoi/sptJf6/geWXqI0ivQTHjja2MLR78GHPijcF5o=; b=s QeCOiLtezEV1RtBrsS8lDEwSwdeLUXcs+hOrXoF2y7Fx3W08+ANRh9sjdZCCeic3 jWLqErTplRrhT3YA5BVaENA/KsSeKbofxj3jaYKYQQcww/8vPvE8qzLhuXfvc0J5 aRanTMIPERfU5nvH13y1eGSq0mVzVrPEG/1qLLtcRazwlX+DZGxEIQnlXB3npH6w B6Q7Adeea/dgwy6piAzLcG6gnGyWppA5ljx2wq0l4UtdtcG+Fp41+oI/t4akDmUK 05hEUZDcRz5+EOhzD+lct0VnnmfoPXfvuX6QNA3kzXgrRw24Z5D8oW7ZvrJX55e2 lsxHGPwFiHOMwHrde+dkA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=1657045111; x=1657131511; bh=g FRoi/sptJf6/geWXqI0ivQTHjja2MLR78GHPijcF5o=; b=FUgL1O4lsmjGQ+gSE aAIV5sW872QKjojcREwIMwIPQ0lLUx5KBbUt2N2gknJ56OE5tWOn7gqX+odzYkxW 1gkghqYNDU35giRlA6fUyecry1gIOJEvRy+JUt0I8jZ9l2w9RvGNntqLvOLw1czv bXUlWF/jQCiYVQm0SIdjSau4IOgMRg9dgCTdY/jIQ/WI6Qu/22RQ+pilXtDYlVP1 znL3VZww4sSQPZUp2sGhOUusNoYEgOvZfZcr9u2CCYPChi4A51VcmoqDI+jsuXX3 lkTIX+T8eMnSd6uVVZza0gHegP0K9YIAqN4uSQU2+j9sRxoRkP/91bhMXyyoXymm HG4IQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeiuddguddvjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefuvfhfhffkffgfgggjtgfgsehtjeertddtfeejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepveetjedtieekteefhffhhfetledvkeffvedugeej ueekhffgvdeileeitdekvefhnecuffhomhgrihhnpehpohhsthhgrhgvshhqlhdrohhrgh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughr ihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 5 Jul 2022 14:18:30 -0400 (EDT) Subject: Re: Seems to be impossible to set a NULL search_path To: Bryn Llewellyn , pgsql-general list References: <4B5F24E6-2FF9-4964-BF07-C609DC38E377@yugabyte.com> From: Adrian Klaver Message-ID: <0c649c8e-dfff-7dea-908a-7b68611fd18f@aklaver.com> Date: Tue, 5 Jul 2022 11:18:29 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <4B5F24E6-2FF9-4964-BF07-C609DC38E377@yugabyte.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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.klaver@aklaver.com