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

From: Markus Schiltknecht <markus(at)bluegap(dot)ch>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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 15:29:55
Message-ID: 46EE9D73.1090009@bluegap.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Hello Tom,

Tom Lane wrote:
> I think you'd be nuts to bet your data on the binary representations
> really being cross-platform compatible.

Can you elaborate on this? AFAICT the send/recv functions use network
byte ordering. What are the other problems between different architectures?

> There might be some excuse for
> doing this within a single architecture, but I can't get very excited
> about it ...

Is the textual representation (i.e. OidOutputFunctionCall) more cross
platform compatible?

Gregory Stark wrote:
> Well they're not very useful for their intended purpose of
> client-server communication if they're not.

Agreed. Up until now, I'd have considered it a bug, if a send/recv on
different platforms would not lead to the very same result.

Regards

Markus

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-09-17 16:27:59 Re: [COMMITTERS] pgsql: Fix up text concatenation so that it accepts all the reasonable
Previous Message Gregory Stark 2007-09-17 14:33:16 Re: [COMMITTERS] pgsql: Silence Solaris compiler warnings, per buildfarm.

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Hammond 2007-09-17 16:20:38 Re: database diagram
Previous Message Gregory Stark 2007-09-17 14:33:16 Re: [COMMITTERS] pgsql: Silence Solaris compiler warnings, per buildfarm.