Re: [PATCHES] libpq type system 0.9a - Mailing list pgsql-hackers

From Andrew Chernow
Subject Re: [PATCHES] libpq type system 0.9a
Date
Msg-id 47FC2459.1020706@esilo.com
Whole thread Raw
In response to Re: [PATCHES] libpq type system 0.9a  (Jeff Davis <pgsql@j-davis.com>)
List pgsql-hackers
Jeff Davis wrote:
> On Tue, 2008-04-08 at 15:22 -0400, Tom Lane wrote:
>> Well, for starters, using binary format.  It is undeniable that that
>> creates more portability risks (cross-architecture and cross-PG-version
>> issues) than text format.  Not everyone wants to take those risks for
>> benefits that may not be meaningful for their apps.
> 
> What are the cross-architecture risks involved?
> 
> Regards,
>     Jeff Davis
> 
> 
>>> What are the cross-architecture risks involved?
We didn't run into any issues here.  close attention was paid to byte 
ordering, the rest was handled by libpq's cross-platform handling.

cross-PG-version is a different story.  the patch already uses server 
version to toggle (like use int4 for money pre-8.3).  If we make this a 
separate library, it would be easy to plug in a newer or older one. 
Merlin had some ideas here ... Merlin?

Andrew


pgsql-hackers by date:

Previous
From: Jeff Davis
Date:
Subject: Re: [PATCHES] libpq type system 0.9a
Next
From: "Merlin Moncure"
Date:
Subject: Re: [PATCHES] libpq type system 0.9a