Re: Error bundling script file with extension when event trigger commands are used

2017-12-05 Thread Michael Paquier
On Wed, Dec 6, 2017 at 3:36 PM, sanyam jain wrote: > I couldn't understand much from the above thread but like to solve this > problem. Not sure that people are much motivated in solving this problem either as the use-case is very narrow. Based on my memories of the moment where I looked at this

Error bundling script file with extension when event trigger commands are used

2017-12-05 Thread sanyam jain
Hi, I am trying to bundle a script file with my extension. Script has event triggers and trigger function does a select query on pg_event_trigger_ddl_commands . While executing "create extension" following error is thrown : ERROR: pg_event_trigger_ddl_commands() can only be called in an even