Re: Is there a way to be notified on the CREATE TABLE execution?

Поиск
Список
Период
Сортировка
От Igor Korot
Тема Re: Is there a way to be notified on the CREATE TABLE execution?
Дата
Msg-id CA+FnnTw+-L=VDUQwucB2PEwnTGUtMp=8tej=Z+2UDTr62UF=pg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Is there a way to be notified on the CREATE TABLE execution?  (Francisco Olarte <folarte@peoplecall.com>)
Ответы Re: Is there a way to be notified on the CREATE TABLE execution?
Список 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 по дате отправления:

Предыдущее
От: Mukesh Chhatani
Дата:
Сообщение: Postgres 10.4 crashing when using PLV8
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: Postgres 10.4 crashing when using PLV8