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.digregorio@dndg.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