Re: [GENERAL] Insert into other database

2006-02-08 Thread Rodolfo Campos
a trigger at all */     if (!CALLED_AS_TRIGGER(fcinfo))     elog(ERROR, "trigf: not called by trigger manager");     else {     rettuple = ejecutaReglas(trigdata);     }     return PointerGetDatum(rettuple); } Thank you very much for your unvaluable help, Rodolfo.On 2/8/06,

Re: [GENERAL] Insert into other database

2006-02-08 Thread Rodolfo Campos
Thanks Michael, I'll check it out. I forgot to say to you that I'm using postgresql 7.4 that's why I can't use pl/perl. Greetings, Rodolfo. On 2/8/06, Michael Fuhr <[EMAIL PROTECTED]> wrote: [Please copy the mailing list on replies.]On Wed, Feb 08, 2006 at 06:57:11PM -

[GENERAL] Insert into other database

2006-02-08 Thread Rodolfo Campos
a trigger (written in C), and the table who fires the trigger is in another database. I'm making the connection with SPI_connect. What can I do?? Is this posible?? Thanks in advance, Rodolfo Campos.