Re: Error loading trigger in C

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Error loading trigger in C
Дата
Msg-id 87oemzxyik.fsf@asmodeus.mcnaught.org
обсуждение исходный текст
Ответ на Error loading trigger in C  (Juan Jose Costello Levien <jcostello@datafull.com>)
Ответы Re: Error loading trigger in C  (Juan Jose Costello Levien <jcostello@datafull.com>)
Список 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 по дате отправления:

Предыдущее
От: "Matthew T. O'Connor"
Дата:
Сообщение: Re: max_fsm_pages
Следующее
От: Ilia Kantor
Дата:
Сообщение: inner data format