Re: Patch for bind message to clarify signedness of parameters and result column format codes - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: Patch for bind message to clarify signedness of parameters and result column format codes
Date
Msg-id 84f75c07-b8f2-45df-8457-aadb345e5dbb@eisentraut.org
Whole thread
In response to Patch for bind message to clarify signedness of parameters and result column format codes  (Dave Cramer <davecramer@gmail.com>)
Responses Re: Patch for bind message to clarify signedness of parameters and result column format codes
List pgsql-docs
On 09.06.26 13:51, Dave Cramer wrote:
> Currently we don't say whether the number of parameters is signed or 
> unsigned. Same with results

Instead of repeating this with every message, we should clarify this in 
the section "Message Data Types".

I had always assumed that a type designation like Int16 or Int32 is 
signed, because of how they look like C types.  But on the other hand, 
the POSIX functions to convert between host and network order only deal 
with unsigned types.  So it's not obvious either way.




pgsql-docs by date:

Previous
From: Tom Lane
Date:
Subject: Re: remark regarding 4.2.13. Row Constructors
Next
From: Dave Cramer
Date:
Subject: Re: Patch for bind message to clarify signedness of parameters and result column format codes