pgsql: doc: Document error handling in PGTYPESnumeric_to_long

From: Daniel Gustafsson <dgustafsson(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Document error handling in PGTYPESnumeric_to_long
Date: 2024-03-25 13:21:25
Message-ID: E1rokGT-005ZqZ-Hh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)imamov(at)postgrespro(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2024-03-25 13:26:57 Re: pgsql: Track last_inactive_time in pg_replication_slots.
Previous Message Heikki Linnakangas 2024-03-25 13:01:48 pgsql: Merge prune, freeze and vacuum WAL record formats