Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Bugs > Re: BUG #4053: ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 3756 of 3896
Post > Topic >>

Re: BUG #4053: libpq documentation should express clearly, that integers are passed in network octet order

by mmoncure@[EMAIL PROTECTED] ("Merlin Moncure") May 8, 2008 at 10:16 AM

Bruce Momjian wrote:
> This brings up a good question.  Exactly how do users know what format
> _binary_ is?  int4 is network byte order, but what about int8, float4,
> inet?

This is exactly what libpqtypes solves.  Not only do we handle
formatting of binary formats, we provide a level of protection from
internal format changes for libpq users.  See the example here:
http://libpqtypes.esilo.com/.
 So, documentation of binary formats
(including network byte ordering) are not required.

merlin

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs




 2 Posts in Topic:
Re: BUG #4053: libpq documentation should express clearly, that
mmoncure@[EMAIL PROTECTED  2008-05-08 10:16:47 
Re: BUG #4053: libpq documentation should express clearly, that
asau@[EMAIL PROTECTED] (  2008-05-08 19:10:52 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan13V112 Fri Jul 4 14:45:04 CDT 2008.