Re: [COMMITTERS] pgsql: Fix up text concatenation so that it accepts all the reasonable

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Markus Schiltknecht <markus(at)bluegap(dot)ch>
Cc: Gregory Stark <stark(at)enterprisedb(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Fix up text concatenation so that it accepts all the reasonable
Date: 2007-09-17 13:44:21
Message-ID: 21566.1190036661@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Markus Schiltknecht <markus(at)bluegap(dot)ch> writes:
> Gregory Stark wrote:
>> Perhaps if you're doing some form of replication between different
>> architectures you might want to use binary representation for your transfers.
>> Or if you're doing something in a PL language like compressing or bundling up
>> multiple data in a container format or something.

> I'm not quite sure I understand where you're coming from, but isn't that
> what the send and recv functions for most data types are for? Don't
> those provide a cross-platform compatible binary representation?

I think you'd be nuts to bet your data on the binary representations
really being cross-platform compatible. There might be some excuse for
doing this within a single architecture, but I can't get very excited
about it ...

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Gregory Stark 2007-09-17 14:32:29 Re: [COMMITTERS] pgsql: Fix up text concatenation so that it accepts all the reasonable
Previous Message Tom Lane 2007-09-17 13:33:17 Re: pgsql: Fix a portability bug (ye olde not casting a <ctype.h> argument

Browse pgsql-hackers by date

  From Date Subject
Next Message Cristiano Duarte 2007-09-17 13:54:09 SPI access to PostgreSQL query plan
Previous Message Tom Lane 2007-09-17 13:33:17 Re: pgsql: Fix a portability bug (ye olde not casting a <ctype.h> argument