On Mon, Jan 17, 2011 at 02:20:37PM +0100, Federico Di Gregorio wrote:
> 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.
I will try.
Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346