public inbox for [email protected]  
help / color / mirror / Atom feed
From: Dominique Devienne <[email protected]>
To: Adrian Klaver <[email protected]>
Cc: [email protected]
Subject: Re: Extension disappearing act
Date: Thu, 19 Jun 2025 16:54:03 +0200
Message-ID: <CAFCRh-9G-nGL1Ryb++eNWf4Dbz6g2p20egG-YP6iu37sctW+iw@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAFCRh-_TQagsob_YH0nXktwhuBftNaiZ_VZ4REhZdSEkWXVKXg@mail.gmail.com>
	<[email protected]>

On Thu, Jun 19, 2025 at 4:18 PM Adrian Klaver <[email protected]> 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






view thread (10+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Extension disappearing act
  In-Reply-To: <CAFCRh-9G-nGL1Ryb++eNWf4Dbz6g2p20egG-YP6iu37sctW+iw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox