??
- Mensaje original -
De: Alvaro Herrera alvhe...@alvh.no-ip.org
Para: Yadisnel Galvez Velazquez ygal...@uci.cu
CC: pgsql-es-ay...@postgresql.org
Enviados: Domingo, 8 de Noviembre 2009 21:36:04 GMT -04:00 Georgetown
Asunto: Re: [pgsql-es-ayuda] Ayuda con NOTIFY en C
Yadisnel Galvez Velazquez escribió
How I cant optain de SQL (if is posible) of any STATEMENT in an AFTER Trigger
Function in C?
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
I am working actually in an replication project. I need a trigger function but
when I compile this, the C compilator return the log message:
# cc -fpic -c main.c
In file included from /usr/include/postgresql/postgres.h:49,
from main.c:1:
I am working actually in an replication project. I need a trigger function but
when I compile this, the C compilator return the log message:
# cc -fpic -c main.c
In file included from /usr/include/postgresql/postgres.h:49,
from main.c:1:
The problem is identical if I run this example:
#include postgresql/8.3/server/postgres.h
#include postgresql/8.3/server/executor/spi.h
#include postgresql/8.3/server/commands/trigger.h
extern Datum trigf(PG_FUNCTION_ARGS);
PG_FUNCTION_INFO_V1(trigf);
Datum
trigf(PG_FUNCTION_ARGS)
{