Re: Quick question about install
От | maplabs@light42.com |
---|---|
Тема | Re: Quick question about install |
Дата | |
Msg-id | 20110622110735.r5jf7xnnk08w0804@webmail.light42.com обсуждение исходный текст |
Ответ на | Quick question about install (Patrick Wong <pwong@optionshouse.com>) |
Список | 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@optionshouse.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@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/psycopg > >
В списке psycopg по дате отправления: