Dmitriy Igrishin escribió:
> I've noticed a small inaccuracy:
>
> E.1.3.4 Object Manipulation
> [...]
>
> "This allows C functions to be called when DDL commands are run."
>
> But according to
> http://www.postgresql.org/docs/devel/static/event-triggers.html
> not only C functions can be called in this case, but functions of
> "any procedural language that includes event trigger support, or in C".
That's correct -- at least plpgsql functions can be used. I think PL/sh
functions can, too, so using wording that leaves out other PLs would be
inaccurate. (No in-core languages other than plpgsql were patched, though.)
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services