Re: Is there a way to be notified on the CREATE TABLE execution? - Mailing list pgsql-general

From Igor Korot
Subject Re: Is there a way to be notified on the CREATE TABLE execution?
Date
Msg-id CA+FnnTw+-L=VDUQwucB2PEwnTGUtMp=8tej=Z+2UDTr62UF=pg@mail.gmail.com
Whole thread Raw
In response to Re: Is there a way to be notified on the CREATE TABLE execution?  (Francisco Olarte <folarte@peoplecall.com>)
Responses Re: Is there a way to be notified on the CREATE TABLE execution?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-general
Hi, Francisco,

On Wed, Jun 20, 2018 at 12:22 PM, Francisco Olarte
<folarte@peoplecall.com> wrote:
> Igor:
>
> On Wed, Jun 20, 2018 at 7:07 PM, Igor Korot <ikorot01@gmail.com> wrote:
>> Just one more question:
>> This page https://www.postgresql.org/docs/current/static/xfunc-c.html#DFUNC
>> does not reference
>> Windows/MSVC/MinGW as a way to compile the code.
>
> Sorry, I don't do windows.
>
> You do not need C extension functions anyway, unless your usage
> pattern is truly bizarre a triger for ddl could be written in any pl.

From the https://www.postgresql.org/docs/current/static/event-trigger-definition.html:

[quote]
In order to create an event trigger, you must first create a function
with the special return type event_trigger. This function need not
(and may not) return a value; the return type serves merely as a
signal that the function is to be invoked as an event trigger.
[/quote]

So, the function has to be created and compiled.

Am I missing something?

Thank you.

>
> Francisco Olarte.


pgsql-general by date:

Previous
From: Mukesh Chhatani
Date:
Subject: Postgres 10.4 crashing when using PLV8
Next
From: "David G. Johnston"
Date:
Subject: Re: Postgres 10.4 crashing when using PLV8