Re: question

Sandeep Joshi <sjoshi@zambeel.com>

From: Sandeep Joshi <sjoshi@Zambeel.com>
To: Alfred Perlstein <bright@wintelcom.net>
Cc: pgsql-general@postgresql.org
Date: 2000-12-15T22:35:53Z
Lists: pgsql-general

Attachments

I have attached my program which I am trying to load as a trigger function.
I was unsuccessful.

I cannot link due to "elog" and "SPI_*" functions.  which library are they
defined in?

I am linking "-lpq" on the command line.


Sandeep




> * Sandeep Joshi <sjoshi@Zambeel.com> [001215 12:43] wrote:
> >
> > I need to update a second  database through a trigger function written
> > 'C'.
> >
> > Is that possible ? how?
> >
> > Do I need to go to commercial product for this?
>
> No, just reading the documentation should help. :)
>
> I imagine you should be able to link to libpq and do the updates
> using that.
>
> --
> -Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
> "I have the heart of a child; I keep it in a jar on my desk."