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 1uSdoD-00B3X5-1H for pgsql-general@arkaria.postgresql.org; Fri, 20 Jun 2025 15:37:41 +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 1uSdoB-002YOz-4A for pgsql-general@arkaria.postgresql.org; Fri, 20 Jun 2025 15:37:39 +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 1uSdoA-002YOr-BS for pgsql-general@lists.postgresql.org; Fri, 20 Jun 2025 15:37:39 +0000 Received: from fhigh-a2-smtp.messagingengine.com ([103.168.172.153]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uSdo7-0039IK-37 for pgsql-general@lists.postgresql.org; Fri, 20 Jun 2025 15:37:38 +0000 Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id E273F11401B7; Fri, 20 Jun 2025 11:37:33 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Fri, 20 Jun 2025 11:37:33 -0400 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=fm3; t=1750433853; x=1750520253; bh=e81zUVWAldvFGJYO8MDtIjXCix6IJJBG0LMYphtawks=; b= Si4egc2go/Qex7nQ3vaK3ORjK1jU+tpPSvAXzfzTR//mO6WA51XWYdRCKa9wO5qd JO/PE5pgWLSijEQvBnNNyqLRlkwCeC2exGnBVRkyapzUFjUoULoMPm3uekGvFX2V OVYVN0QWVAOX9OHW7vKzEXNiMv56L1WwXsrbd0P3uacIgSTn2iCSCc2MNRRgfpuo KOP1owdYVOYJSUITxuMMtsK3rki+aGzFYSeEOQcjBTtLr8p/ioYV0QpDX9fcMTAz gP2dXSPRNqsWpVh+TvcDwFQxIbeNUU0inpD+wgBOsR/h6NC47fb0exyreNwoiCrD j53f3RXv0WJyXCOoRKKqYw== 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=fm1; t=1750433853; x= 1750520253; bh=e81zUVWAldvFGJYO8MDtIjXCix6IJJBG0LMYphtawks=; b=Q WD00ADHnrG8AIz6Q4bVtgzHZiU8YgxCcijGGuek3lv/t9PR9GtwC63kM0P55N/rU Hn/Au1SsYXPJkJcpgfle3iuFS95Qf5kZDEAvwab7dOt4e5en2VdjtOXcvtL8ZiHZ uUcg6mghv70mU9AgOC8j1JHvSrw2DReeToOi+wY9Z6CdOYPjrujzfozFBV549IMv ODf4T6c7aoIZ6za7c30sdy79ByfRldxCPdcpVflwuyzrhgBOdPnF5QzpZEKZiDXb qFI9I2mzHynO9CF9Jsh+d8+xZISVBH8ev2buNWmUHizBGAn/WS66gSse/hoxqn3e Nic1in0OcRix1N2N0UpDg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddvgdekjeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epkfffgggfuffvvehfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetughrihgrnhcu mfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomheqne cuggftrfgrthhtvghrnhepfeegfeeiuedtgffgteeggfehkeejheetieeliefgteeikeej vdeiveeigfehvedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhdpnhgspghr tghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepugguvghvihgvnh hnvgesghhmrghilhdrtghomhdprhgtphhtthhopehpghhsqhhlqdhgvghnvghrrghlsehl ihhsthhsrdhpohhsthhgrhgvshhqlhdrohhrgh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 20 Jun 2025 11:37:33 -0400 (EDT) Message-ID: Date: Fri, 20 Jun 2025 08:37:32 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Extension disappearing act To: Dominique Devienne Cc: pgsql-general@lists.postgresql.org References: <002c519f-fb22-4ec0-b3e3-719f1d54035e@aklaver.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: 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 6/19/25 07:54, Dominique Devienne wrote: > On Thu, Jun 19, 2025 at 4:18 PM Adrian Klaver wrote: >> On 6/19/25 06:09, Dominique Devienne wrote: >>> Hi. Little mystery we don't understand. v17. >> Does 'all' include the public schema? > > No. We don't touch `public` at all, beside pgcrypto ending up inside it. > >>> Of course, the DB owner role was not dropped. Can't in fact. >>> Somehow, the pgcrypto extension has disappeared, as side-effects of the drops. >> >> Was it in fact installed in the public schema? > > Sure was. It's my own command, but good enough. --DD > > D:\>ppg -c my17 -d dd_v168a database_ --extensions > Connected OK (postgresql://ddevienne@localhost:5417/dd_v168a) > ======================================================= > | Name | Version | Owner | Schema | > ======================================================= > | pgcrypto | 1.3 | "Acme-DBA:000ik2" | public | > | plpgsql | 1.0 | postgres | pg_catalog | > ======================================================= > 2 installed extensions (out of 61) > > Which runs > > SELECT extname, extversion, > extowner::regrole::text as owner, > extnamespace::regnamespace::text as "schema" > FROM pg_extension > ORDER BY 1 After you run the DROP commands the above query does not return pgcrypto, correct? -- Adrian Klaver adrian.klaver@aklaver.com