Re: Error loading trigger in C

From: Doug McNaught <doug(at)mcnaught(dot)org>
To: Juan Jose Costello Levien <jcostello(at)datafull(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Error loading trigger in C
Date: 2004-07-01 20:28:51
Message-ID: 87oemzxyik.fsf@asmodeus.mcnaught.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Chuck Bernardes 2004-07-01 20:46:47 Re: PostgreSQL 7.4.3 on a windows XP Pro environment Installation
Previous Message Matthew T. O'Connor 2004-07-01 20:19:21 Re: max_fsm_pages