Is PgAudit extension database specific?

From: Siraj G <tosiraj(dot)g(at)gmail(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Is PgAudit extension database specific?
Date: 2026-01-06 17:18:44
Message-ID: CAC5iy63sMzJ9j_WBxzjdTjp7y0F_hRuA-=Fjfyy7RFbqdqA16A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello Experts!

Here is my observation:

Connected to postgres DB and ran:
CREATE EXTENSION pgaudit;

Within postgres DB, I ran this:
SELECT * FROM pg_catalog.pg_extension WHERE extname = 'pgaudit';

It does return a row.

I changed the DB and ran the same SQL, but it does not return any thing.

The PostgreSQL instance is a GCP cloud SQL running with postgres V14.19.

Would you help me understand this, please.

Regards
Siraj

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message David G. Johnston 2026-01-06 17:26:59 Re: Is PgAudit extension database specific?
Previous Message Sbob 2026-01-04 18:40:13 Re: struggling with logical replication and WAL segments removed even with max_slot_wal_keep_size = -1