Juan Jose Costello Levien <[EMAIL PROTECTED]> 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 ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match