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

From Usama Dar
Subject Re: convert int to bytea
Date
Msg-id ff0e67090711290808t22439736g59faa7fa9c54ecc5@mail.gmail.com
Whole thread Raw
In response to Re: convert int to bytea  ("Douglas McNaught" <doug@mcnaught.org>)
Responses Re: convert int to bytea
List pgsql-hackers
Does it matter if you have written an explicit cast for int to bytea?<br /><br /><div class="gmail_quote">On Nov 29,
20079:00 PM, Douglas McNaught <<a href="mailto:doug@mcnaught.org">doug@mcnaught.org</a>> wrote:<br /><blockquote
class="gmail_quote"style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left:
1ex;"><divclass="Ih2E3d">On 11/29/07, <a href="mailto:ohp@pyrenet.fr">ohp@pyrenet.fr</a> <<a
href="mailto:ohp@pyrenet.fr">ohp@pyrenet.fr</a>>wrote:<br /><br />> On Thu, 29 Nov 2007, Gregory Stark wrote:<br
/>><br/></div><div class="Ih2E3d">> > What do you want the resulting bytea to look like?<br />> ><br
/>>example : id = 9 , bytea = '\000\000\011' IIRC<br /><br /></div>What do you expect to happen when server and
clientare differently-endian? <br /><br />-Doug<br /><br />---------------------------(end of
broadcast)---------------------------<br/>TIP 3: Have you checked our extensive FAQ?<br /><br />               <a
href="http://www.postgresql.org/docs/faq"target="_blank"> http://www.postgresql.org/docs/faq</a><br
/></blockquote></div><br/><br clear="all" /><br />-- <br />Usama Munir Dar <a
href="http://linkedin.com/in/usamadar">http://linkedin.com/in/usamadar</a><br/>Consultant Architect<br />Cell:+92 321
5020666<br />Skype: usamadar <br /> 

pgsql-hackers by date:

Previous
From: "Douglas McNaught"
Date:
Subject: Re: convert int to bytea
Next
From: Alvaro Herrera
Date:
Subject: Re: pgwin32_open returning EINVAL