Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id EF5999BD82C for ; Mon, 5 Dec 2011 07:53:36 -0400 (AST) Received: from mail-fx0-f46.google.com ([209.85.161.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RXX72-0004Cw-TU for pgsql-docs@postgresql.org; Mon, 05 Dec 2011 11:53:37 +0000 Received: by faar15 with SMTP id r15so457428faa.19 for ; Mon, 05 Dec 2011 03:53:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ekPw/YN8dvwlHP/fEGaPHhvBasdFYgKzdptpJgx/DYA=; b=J2XzPclRM5rYcmL9wE6aumRDIu1M4yeUtZYq0DG1wIPDxnRP3N9PJ7uxrQmwWloycr fbpmpnzaM5IJiE+DCMlfYysGmRkBNuH5c6mHMgt/0+nY4YIOLjREgXq0vVuzjeetT0s/ +uO4gHwaO/s6Mc+Q9nvnQg8FEz1KXmt5G+NiE= MIME-Version: 1.0 Received: by 10.180.77.42 with SMTP id p10mr12499801wiw.66.1323086002347; Mon, 05 Dec 2011 03:53:22 -0800 (PST) Received: by 10.216.134.207 with HTTP; Mon, 5 Dec 2011 03:53:22 -0800 (PST) Date: Mon, 5 Dec 2011 14:53:22 +0300 Message-ID: Subject: Clarification suggestion for 46.4 chapter. From: Dmitriy Igrishin To: pgsql-docs Content-Type: multipart/alternative; boundary=f46d043c7dd02d5d5404b356f797 X-Pg-Spam-Score: -2.6 (--) X-Archive-Number: 201112/12 X-Sequence-Number: 7119 --f46d043c7dd02d5d5404b356f797 Content-Type: text/plain; charset=UTF-8 Hey, The section 46.4 describes the base data types used in messages. http://www.postgresql.org/docs/9.1/static/protocol-message-types.html According to section 46.5 http://www.postgresql.org/docs/9.1/static/protocol-message-formats.html there are cases when Int32 can be negative (e.g. see DataRow(B) message description.) Thus, I would like to suggest to change the description of Int(i) from "An n-bit integer in network byte order ..." to "An n-bit signed integer in network byte order ..." -- // Dmitriy. --f46d043c7dd02d5d5404b356f797 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey,

The section 46.4 describes the base data types used in messages.
http://www.postgresql.org/docs/9.1/static/protocol-me= ssage-types.html

According to section 46.5
http://ww= w.postgresql.org/docs/9.1/static/protocol-message-formats.html
there are cases when Int32 can be negative (e.g. see DataRow(B) message
= description.)

Thus, I would like to suggest to change the descriptio= n of Int(i)
from
"An n-bit int= eger in network byte order ..."
to
"An n-bit signed integer in network byte order ..."

--
// Dmitriy= .


--f46d043c7dd02d5d5404b356f797--