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: Re: BUG #40...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 3757 of 4088
Post > Topic >>

Re: Re: BUG #4053: libpq do***entation should express clearly,

by ac@[EMAIL PROTECTED] (Andrew Chernow) May 8, 2008 at 11:57 AM

Bruce Momjian wrote:
> Aleksej Saushev wrote:
>> "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.
> 
> Agreed.
> 

Correct, libpqtypes is not part of the core.

What we are saying is, libpqtypes solves this problem.  I don't think 
docs is the solution because that just sup****ts the idea of libpq apps 
directly handling binary formats; which makes changing these formats 
MUCH harder in future releases.  Lots of libpq apps would be dependant 
on these binary formats.

By all means, do***enting this is probably a good idea.  I just don't 
think it solves any of the interesting problems.

-- 
Andrew Chernow
eSilo, LLC
every bit counts
http://www.esilo.com/

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




 6 Posts in Topic:
Re: BUG #4053: libpq documentation should express clearly,
bruce@[EMAIL PROTECTED]   2008-05-08 11:34:32 
Re: Re: BUG #4053: libpq documentation should express clearly,
ac@[EMAIL PROTECTED] (An  2008-05-08 11:57:09 
Re: Re: BUG #4053: libpq documentation should express
bruce@[EMAIL PROTECTED]   2008-05-08 12:27:01 
Re: Re: BUG #4053: libpq documentation should express clearly, t
mmoncure@[EMAIL PROTECTED  2008-05-08 12:44:50 
Re: Re: BUG #4053: libpq documentation should express clearly,
ac@[EMAIL PROTECTED] (An  2008-05-08 13:04:49 
Re: Re: BUG #4053: libpq documentation should express clearly, t
asau@[EMAIL PROTECTED] (  2008-05-08 20:17:17 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan12V112 Sat Oct 11 1:23:23 CDT 2008.