Re: convert int to bytea

Douglas McNaught <doug@mcnaught.org>

From: "Douglas McNaught" <doug@mcnaught.org>
To: ohp@pyrenet.fr
Cc: "Gregory Stark" <stark@enterprisedb.com>, "pgsql-hackers list" <pgsql-hackers@postgresql.org>
Date: 2007-11-29T16:00:44Z
Lists: 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