pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Daniel Gustafsson <dgustafsson@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Document error handling in PGTYPESnumeric_to_long
Date: Mon, 25 Mar 2024 13:21:25 +0000
Message-ID: <E1rokGT-005ZqZ-Hh@gemulon.postgresql.org> (raw)

doc: Document error handling in PGTYPESnumeric_to_long

The documentation for PGTYPESnumeric_to_long only mentioned errno
being set to indicate overflow but the code also sets errno when
underflow happens.

Reported-by: Aidar Imamov <a.imamov@postgrespro.ru>
Discussion: https://postgr.es/m/eebf0ad50ad4321d65d2d64dd6b7f17d@postgrespro.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/68174679fea2d514e9281fddd826abaccfac5bf7

Modified Files
--------------
doc/src/sgml/ecpg.sgml | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)



view thread (2+ messages)

Message-ID: <E1rokGT-005ZqZ-Hh@gemulon.postgresql.org>
Permalink:  ../E1rokGT-005ZqZ-Hh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rokGT-005ZqZ-Hh@gemulon.postgresql.org

 · 

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: pgsql-committers@postgresql.org
  Cc: dgustafsson@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: doc: Document error handling in PGTYPESnumeric_to_long
  In-Reply-To: <E1rokGT-005ZqZ-Hh@gemulon.postgresql.org>

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

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