From: | "Usama Dar" <munir(dot)usama(at)gmail(dot)com> |
---|---|
To: | "Douglas McNaught" <doug(at)mcnaught(dot)org> |
Cc: | ohp(at)pyrenet(dot)fr, "Gregory Stark" <stark(at)enterprisedb(dot)com>, "pgsql-hackers list" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: convert int to bytea |
Date: | 2007-11-29 16:08:08 |
Message-ID: | ff0e67090711290808t22439736g59faa7fa9c54ecc5@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Does it matter if you have written an explicit cast for int to bytea?
On Nov 29, 2007 9:00 PM, Douglas McNaught <doug(at)mcnaught(dot)org> wrote:
> On 11/29/07, ohp(at)pyrenet(dot)fr <ohp(at)pyrenet(dot)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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faq
>
--
Usama Munir Dar http://linkedin.com/in/usamadar
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2007-11-29 16:13:57 | Re: pgwin32_open returning EINVAL |
Previous Message | Douglas McNaught | 2007-11-29 16:00:44 | Re: convert int to bytea |