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 2 of 2 Topic 3756 of 4089
Post > Topic >>

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

by asau@[EMAIL PROTECTED] (Aleksej Saushev) May 8, 2008 at 07:10 PM

"Merlin Moncure" <mmoncure@[EMAIL PROTECTED]
> writes:

> 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, do***entation of binary formats
> (including network byte ordering) are not required.

No, it is still required. There's not a single reference to libpqtypes
in Postgres do***entation, and libpqtypes isn't part of the distribution,
if I understand it right.

-- 
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
tan12V112 Tue Oct 14 10:41:44 CDT 2008.