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

Re: Finding the pqlib version

From: Christoph Zwerschke <cito(at)online(dot)de>
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Finding the pqlib version
Date: 2006-02-12 00:01:15
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
Bruce Momjian wrote:
 > I was wondering that myself.  I am thinking you would need to use
 > dlopen() to check for the symbol.  Because the libpq version could
 > change after you compile, I can't see how you could make it a
 > configure check unless you said you don't allow changes to libpq
 > after the build.

The situation I was talking about is that you have a pre-compiled Python 
and PostgreSQL installed on your system, together with their header 
files, but you do not have the full source of Python and PostgreSQL 
available. I want to be able to compile PyGreSQL as a Python extension 
which is using functions from the python.dll and the libpq.dll, assuming 
that the installed header files match the installed dlls.

-- Christoph

In response to


pgsql-interfaces by date

Next:From: Christoph ZwerschkeDate: 2006-02-12 00:08:12
Subject: Re: Finding the pqlib version
Previous:From: Mariano ReingartDate: 2006-02-11 23:28:25
Subject: LibPqEasy, binary cursor, x86-64, fetch(int4) problem?

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