Juan Jose Costello Levien <jcostello(at)datafull(dot)com> writes:
> Hello,
> I am trying to use a trigger function I wrote in C. Basically what I
> want to do is to audit a table when a row is inserted into another
> table by copying the row to the new table. It compiles Ok and I
> created a shared library trigger.so. But when I load it into pgAdmin
> it tells me 'An error had occured'.
Does it work if you take pgAdmin out of the loop? E.g. in psql:
CREATE FUNCTION trigf ...
CREATE TRIGGER ...
-Doug