Re: RPM question: Where to put psycopg2 files

From: Federico Di Gregorio <federico(dot)digregorio(at)dndg(dot)it>
To: psycopg(at)postgresql(dot)org
Subject: Re: RPM question: Where to put psycopg2 files
Date: 2011-01-17 13:20:37
Message-ID: 4D344225.5080908@dndg.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On 17/01/2011 14:02, Karsten Hilbert wrote:
>> I don't know about RPMs but in Debian we have multiple versions of
>> > postgresql and only *one* libpqXX package (usually it comes from the
>> > most recent stable release). So my suggestion is to have only one
>> > version of psycopg linked to the most recent libpq package.
> This is not really the final solution.
>
> I've got a Debian/Squeeze machine which runs PG 9.0 from /Unstable.
>
> I've got a second Debian/Squeeze machine running PG 8.4 from /Squeeze.
>
> Both use the same psycopg2 from /Squeeze.
>
> Transferring bytea data from the 9.0 machine to the 8.4 one
> does not work (other datatypes work fine).

Can you please provide a test case? Unless going from 9.0 -> 8.4 is
documented as not possible by PostgreSQL docs psycopg should be able to
convert the data correctly.

federico

--
Federico Di Gregorio federico(dot)digregorio(at)dndg(dot)it
Studio Associato Di Nunzio e Di Gregorio http://dndg.it
And anyone who yells "fork" deserves to get one stuck in them.
-- Dan Winship

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Karsten Hilbert 2011-01-17 13:31:55 Re: RPM question: Where to put psycopg2 files
Previous Message Karsten Hilbert 2011-01-17 13:02:43 Re: RPM question: Where to put psycopg2 files