public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: Dave Cramer <[email protected]>
To: Pg Docs <[email protected]>
Subject: Re: Patch for bind message to clarify signedness of parameters and result column format codes
Date: Wed, 10 Jun 2026 15:16:28 +0200
Message-ID: <[email protected]> (raw)
In-Reply-To: <CADK3HHLsX7gnp83i5onq4JXiaqYU6kheTKyvdmHLi0aF1w5m=A@mail.gmail.com>
References: <CADK3HHLsX7gnp83i5onq4JXiaqYU6kheTKyvdmHLi0aF1w5m=A@mail.gmail.com>

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.







view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Patch for bind message to clarify signedness of parameters and result column format codes
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox