doc: Document error handling in PGTYPESnumeric_to_long

Daniel Gustafsson <dgustafsson@postgresql.org>

Commit: 68174679fea2d514e9281fddd826abaccfac5bf7
Author: Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2024-03-25T13:18:39Z
Releases: 17.0
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

Files

PathChange+/−
doc/src/sgml/ecpg.sgml modified +3 −2

Documentation touched

Discussion