Re: convert int to bytea - Mailing list pgsql-hackers

From Douglas McNaught
Subject Re: convert int to bytea
Date
Msg-id 5ded07e00711290800p6c5fb2eex8c2b0ebff6e88857@mail.gmail.com
Whole thread Raw
In response to Re: convert int to bytea  (ohp@pyrenet.fr)
Responses Re: convert int to bytea  ("Usama Dar" <munir.usama@gmail.com>)
List pgsql-hackers
On 11/29/07, ohp@pyrenet.fr <ohp@pyrenet.fr> wrote:

> On Thu, 29 Nov 2007, Gregory Stark wrote:
>
> > What do you want the resulting bytea to look like?
> >
> example : id = 9 , bytea = '\000\000\011' IIRC

What do you expect to happen when server and client are differently-endian?

-Doug


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pgwin32_open returning EINVAL
Next
From: "Usama Dar"
Date:
Subject: Re: convert int to bytea