Re: Quick question about install

From: maplabs(at)light42(dot)com
To: Patrick Wong <pwong(at)optionshouse(dot)com>, Daniele Varrazzo <daniele(dot)varrazzo(at)gmail(dot)com>
Cc: "psycopg(at)postgresql(dot)org" <psycopg(at)postgresql(dot)org>
Subject: Re: Quick question about install
Date: 2011-06-22 15:07:35
Message-ID: 20110622110735.r5jf7xnnk08w0804@webmail.light42.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

well, Patrick, you understand that the client has to have a binary
connection to a libpq somehow, yes?
In practice, a simple approach is to install a postgresql on the client
side, PC, Mac or Linux, then install psycopg2, which will find the
libpq it needs.. 

  If there are ways of having a psycopg2 client without a libpq, its
new to me!
So a 'remote connection' isnt enough to install psycopg2, if my
understanding is correct

==
Brian Hamlin
GeoCal
OSGeo California Chapter
(415) 717-4462 cell

On Wed, 22 Jun 2011 14:50:25 +0100, Daniele Varrazzo wrote:
On Mon, Jun 20, 2011 at 5:51 PM, Patrick Wong <pwong(at)optionshouse(dot)com> wrote:
>
> > I could not find this information on your website, but is there a way to
> > install psycopg2 without pg_config?  Our environment uses only remote
> > connections to the database server.
>
> No, not out-of-the-box. pg_config is used to locate the postgres
> client-side libraries required by psycopg in a portable way. If you
> have the development libraries and include files, you usually have
> pg_config too.
>
> Of course if you know what you are doing you can hack the setup.py and
> supply the informations required replacing the function calling
> pg_config with a mock returning hardcoded values.
>
> -- Daniele
>
> -- Sent via psycopg mailing list (psycopg(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/psycopg
>
>

Browse psycopg by date

  From Date Subject
Next Message Jacob Kaplan-Moss 2011-06-22 20:00:29 Re: autocommit and Django
Previous Message Daniele Varrazzo 2011-06-22 13:50:25 Re: Quick question about install