Re: [HACKERS] event triggers with args?

2015-02-25 Thread Fabien COELHO
Hello Andres, So I have a question: is there a particular reason why arguments were not provided in the first place? Yea. The existing trigger argument mechanims is extremely odd implementation wise - they don't have real datatypes and aren't passed via the normal parameter passing

Re: [HACKERS] event triggers with args?

2015-02-25 Thread Andres Freund
On 2015-02-25 10:43:57 +0100, Fabien COELHO wrote: While looking at event triggers, I noticed that, contrary to basic triggers, arguments are not allowed. However, the example in the documentation with an hour-based filtering of ddl commands suggest some handling of arguments would be