??
- Mensaje original -
De: "Alvaro Herrera"
Para: "Yadisnel Galvez Velazquez"
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ó:
> Hola a t
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
The problem is identical if I run this example:
#include
#include
#include
extern Datum trigf(PG_FUNCTION_ARGS);
PG_FUNCTION_INFO_V1(trigf);
Datum
trigf(PG_FUNCTION_ARGS)
{
TriggerData *trigdata = (TriggerData *) fcinfo->context;
TupleDesc tupdesc;
HeapTuple rettuple;
cha
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:
/usr/include/postgresql/utils/elog.h:68:28
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:
/usr/include/postgresql/utils/elog.h:68: