Re: Regarding extension

From: Euler Taveira <euler(at)timbira(dot)com(dot)br>
To: Natarajan R <nataraj3098(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Regarding extension
Date: 2019-10-03 14:01:00
Message-ID: CAHE3wgj0YfwSntdx1Ugb38Ag=-t-KiZh=kfUOdS=9dAcLyM0Cg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em qui, 3 de out de 2019 às 02:24, Natarajan R <nataraj3098(at)gmail(dot)com> escreveu:
>
> I am creating sample extension in postgres, For that "During PG_INIT, i want to get the list of database Id's in which my extension is installed". Is there a way to get this?
>
I'm not sure what you mean by "ld". However, if you want to know an
extension is installed in a specific database, you should be logged in
it. That's because extension catalog is not global.

> How to have trigger for create extension?
>
Event triggers.

--
Euler Taveira Timbira -
http://www.timbira.com.br/
PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Suraj Kharage 2019-10-03 14:08:21 identity column behavior in WHEN condition for BEFORE EACH ROW trigger
Previous Message Tom Lane 2019-10-03 13:52:34 Re: Include RELKIND_TOASTVALUE in get_relkind_objtype