Hi, Francisco, On Wed, Jun 20, 2018 at 12:22 PM, Francisco Olarte <folarte@xxxxxxxxxxxxxx> wrote: > Igor: > > On Wed, Jun 20, 2018 at 7:07 PM, Igor Korot <ikorot01@xxxxxxxxx> 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.