Re: question

From: Sandeep Joshi <sjoshi(at)Zambeel(dot)com>
To: Alfred Perlstein <bright(at)wintelcom(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: question
Date: 2000-12-15 22:35:53
Message-ID: 3A3A9CC9.58644C3C@zambeel.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)Zambeel(dot)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(at)wintelcom(dot)net|alfred(at)freebsd(dot)org]
> "I have the heart of a child; I keep it in a jar on my desk."

Attachment Content-Type Size
db1trig.c.err text/plain 3.5 KB

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sandeep Joshi 2000-12-15 22:49:16 Re: question
Previous Message Niral Trivedi 2000-12-15 22:01:24 RE: simple questions