Re: Using libpq to access a repote database from a c trigger function breaks.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: afritz(at)teamdev(dot)com, pgsql-bugs(at)postgresql(dot)org
Subject: Re: Using libpq to access a repote database from a c trigger function breaks.
Date: 2001-03-07 18:14:07
Message-ID: 10057.983988847@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

pgsql-bugs(at)postgresql(dot)org writes:
> Using libpq to access a repote database from a c trigger function breaks.

Try linking libpq.a into your .so file. I think your references to
PQexec and so forth are being resolved to the
similarly-named-but-completely-different functions that exist in the
backend (see src/backend/libpq). There is no copy of client libpq in
the standard backend.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2001-03-07 19:37:07 Re: Using libpq to access a repote database from a c trigger function breaks.
Previous Message pgsql-bugs 2001-03-07 18:03:33 Using libpq to access a repote database from a c trigger function breaks.