Re: [GENERAL] [pgsql-es-ayuda] Ayuda con NOTIFY en C

2009-11-08 Thread Yadisnel Galvez Velazquez
?? - 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

[GENERAL] Triggers and SQL

2009-10-05 Thread Yadisnel Galvez Velazquez
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

[GENERAL] Compilate problems

2009-10-04 Thread Yadisnel Galvez Velazquez
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

[GENERAL] Compilate problems

2009-10-04 Thread Yadisnel Galvez Velazquez
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

[GENERAL] Compilate problems

2009-10-04 Thread Yadisnel Galvez Velazquez
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: