From: | Igor Korot <ikorot01(at)gmail(dot)com> |
---|---|
To: | Francisco Olarte <folarte(at)peoplecall(dot)com> |
Cc: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Is there a way to be notified on the CREATE TABLE execution? |
Date: | 2018-06-20 19:49:34 |
Message-ID: | CA+FnnTw+-L=VDUQwucB2PEwnTGUtMp=8tej=Z+2UDTr62UF=pg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi, Francisco,
On Wed, Jun 20, 2018 at 12:22 PM, Francisco Olarte
<folarte(at)peoplecall(dot)com> wrote:
> Igor:
>
> On Wed, Jun 20, 2018 at 7:07 PM, Igor Korot <ikorot01(at)gmail(dot)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.
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2018-06-20 20:02:19 | Re: Postgres 10.4 crashing when using PLV8 |
Previous Message | Mukesh Chhatani | 2018-06-20 19:46:47 | Postgres 10.4 crashing when using PLV8 |