Re: Error loading trigger in C - Mailing list pgsql-general

From Doug McNaught
Subject Re: Error loading trigger in C
Date
Msg-id 87oemzxyik.fsf@asmodeus.mcnaught.org
Whole thread Raw
In response to Error loading trigger in C  (Juan Jose Costello Levien <jcostello@datafull.com>)
Responses Re: Error loading trigger in C  (Juan Jose Costello Levien <jcostello@datafull.com>)
List pgsql-general
Juan Jose Costello Levien <jcostello@datafull.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

pgsql-general by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: max_fsm_pages
Next
From: Ilia Kantor
Date:
Subject: inner data format