Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tTpeS-00B4RP-3R for pgsql-general@arkaria.postgresql.org; Fri, 03 Jan 2025 21:56:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1tTpeQ-005UW5-5M for pgsql-general@arkaria.postgresql.org; Fri, 03 Jan 2025 21:56:13 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1tTpeO-005UVu-Rd for pgsql-general@lists.postgresql.org; Fri, 03 Jan 2025 21:56:13 +0000 Received: from fout-a8-smtp.messagingengine.com ([103.168.172.151]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tTpeK-0005n2-0I for pgsql-general@lists.postgresql.org; Fri, 03 Jan 2025 21:56:12 +0000 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfout.phl.internal (Postfix) with ESMTP id D9FA3138020F; Fri, 3 Jan 2025 16:56:04 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Fri, 03 Jan 2025 16:56:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1735941364; x=1736027764; bh=BNRI5QbGM8CKx14RxTKLvvcLcjgMTc1rQZWUPjG9nE8=; b= PiWCnkYqrDtmj/BqTc7owNmD0dZTTEgKz5LVNZUUNxQ+aB9k7lxG/xvT+y8PBKkT Otm1JIkAquO2NxtTu99Poe3gnPKiWmjU+Elqz5KHjyi2TmY0pz5gI5yMxBSn8aMX AXfVk2smdt6emqRQNBL6K6bqK+OVCx/FzjApt8of1NqzffFpt8s+K4ZJQ6FNXehp 7yH6DI0+wQoybQzTdJzTu1MGjVBATCp8VDaGmLTS35Taztfiz/QC6RGBEJ1RSC6T YtarAkT9Q3bCs7LjnOJZlca+OaW/DY+65KF+/MU9YD0MIg6XguwqnHhaZqtbJh/b rCEaXveXLblgSZP7zl2wKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1735941364; x= 1736027764; bh=BNRI5QbGM8CKx14RxTKLvvcLcjgMTc1rQZWUPjG9nE8=; b=v bdvAnlsT96urIUELvO9kpjZfqEOpz6Z2FVUXPgs/aQYsbj+bT/5pA2Usg78D1+PA 1FbMs/RryHFp/aixokfz763T8TeEfSixL2Pg5r6nTPLCYkKvqlW6Z/x3S+14oRcT 60Qsi1AU6xUAhyOhS9ynUGkpau1L6UQJh7QaapQQy0oMP7t6yasL4ddg6fm7dUnt zYP4FFMcqj/DbbY1kRiSlNozZMQxQpvU3MK4bnLn1cY2TlP71WtaEXGQ+Wswr9Ld i5WV06JGnc59GUU1R3dmTw8JoRlf22+YVZ1YHEoVFpQcm45CUEcUfSSuw8JqeebU i148RPIaEHYABarSzRw4g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudefgedgudehfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdp uffrtefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivg hnthhsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddv jeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvg hrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpefhveeihfevlefffedt hedukeevfefhfedtgeeifeevteffgfefhedtffetudettdenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegr khhlrghvvghrrdgtohhmpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuth dprhgtphhtthhopehjsggvqdhmlhhishhtsehmrghgnhgvthhkvghrnhdruggvpdhrtghp thhtohepuggrvhhiugdrghdrjhhohhhnshhtohhnsehgmhgrihhlrdgtohhmpdhrtghpth htohepphhgshhqlhdqghgvnhgvrhgrlheslhhishhtshdrphhoshhtghhrvghsqhhlrdho rhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 3 Jan 2025 16:56:03 -0500 (EST) Message-ID: <14e035fb-ab35-4a73-a637-ad0180067b07@aklaver.com> Date: Fri, 3 Jan 2025 13:56:02 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: search_path for PL/pgSQL functions partially cached? To: Jan Behrens , "David G. Johnston" Cc: "pgsql-general@lists.postgresql.org" References: <20241227205025.1d059f72c7c08d23c9648c26@magnetkern.de> <20241228004009.267f21b78394c934f27f9974@magnetkern.de> <20250103135332.7910a008714abaa04d32e5e2@magnetkern.de> <20250103174849.f071d9c6942f76a9b812157c@magnetkern.de> <20250103223312.dde69ae482776e4f1b0c2258@magnetkern.de> Content-Language: en-US From: Adrian Klaver In-Reply-To: <20250103223312.dde69ae482776e4f1b0c2258@magnetkern.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/3/25 13:33, Jan Behrens wrote: > On Fri, 3 Jan 2025 10:16:15 -0700 > "David G. Johnston" wrote: > > > But if I use "SET search_path FROM CURRENT", then the called function > won't know the search_path that is set at the caller's side (which is > what I need to make my interface nice to use). At this point I am lost as to what the overall goal of this is. Can you provide a 10000 ft view if what it is you are trying to achieve? > > I would prefer my current solution, but I would like to be sure that my > example (the one in my e-mail dated Fri, 3 Jan 2025 13:53:32 +0100) is > correct. I still am not sure about that. > > Kind Regards, > Jan Behrens > > -- Adrian Klaver adrian.klaver@aklaver.com