Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group