Re: [PATCHES] libpq type system 0.9a

From: Andrew Chernow <ac(at)esilo(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Greg Sabino Mullane <greg(at)turnstep(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCHES] libpq type system 0.9a
Date: 2008-04-09 02:05:13
Message-ID: 47FC2459.1020706@esilo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Merlin Moncure 2008-04-09 02:06:13 Re: [PATCHES] libpq type system 0.9a
Previous Message Merlin Moncure 2008-04-09 01:49:44 Re: [PATCHES] libpq type system 0.9a

Browse pgsql-patches by date

  From Date Subject
Next Message Merlin Moncure 2008-04-09 02:06:13 Re: [PATCHES] libpq type system 0.9a
Previous Message Merlin Moncure 2008-04-09 01:49:44 Re: [PATCHES] libpq type system 0.9a