pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Make an attempt at fixing our current Solaris 11 breakage: add a
2+ messages / 2 participants
[nested] [flat]
* pgsql: Make an attempt at fixing our current Solaris 11 breakage: add a
@ 2009-04-04 21:55 Tom Lane <tgl@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: tgl@postgresql.org @ 2009-04-04 21:55 UTC (permalink / raw)
To: pgsql-committers
Log Message:
-----------
Make an attempt at fixing our current Solaris 11 breakage: add a configure
probe for opterr (exactly like the one for optreset) and have getopt.c
define the variables only if configure doesn't find them in libc.
Modified Files:
--------------
pgsql:
configure (r1.634 -> r1.635)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure?r1=1.634&r2=1.635)
configure.in (r1.592 -> r1.593)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/configure.in?r1=1.592&r2=1.593)
pgsql/src/include:
pg_config.h.in (r1.138 -> r1.139)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/pg_config.h.in?r1=1.138&r2=1.139)
pgsql/src/port:
getopt.c (r1.11 -> r1.12)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/port/getopt.c?r1=1.11&r2=1.12)
^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: ecpg: Fix return code for overflow in numeric conversion
@ 2024-03-25 13:21 Daniel Gustafsson <dgustafsson@postgresql.org>
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Gustafsson @ 2024-03-25 13:21 UTC (permalink / raw)
To: pgsql-committers@lists.postgresql.org
ecpg: Fix return code for overflow in numeric conversion
The decimal conversion functions dectoint and dectolong are documented
to return ECPG_INFORMIX_NUM_OVERFLOW in case of overflows, but always
returned -1 on all errors due to incorrectly checking the returnvalue
from the PGTYPES* functions.
Author: Aidar Imamov <a.imamov@postgrespro.ru>
Discussion: https://postgr.es/m/54d2b53327516d9454daa5fb2f893bdc@postgrespro.ru
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b2d6b4c728a282f9bbe9ff4fac02a872bef074dd
Modified Files
--------------
src/interfaces/ecpg/compatlib/informix.c | 10 ++++++++--
.../ecpg/test/expected/compat_informix-dec_test.stdout | 12 ++++++------
2 files changed, 14 insertions(+), 8 deletions(-)
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-03-25 13:21 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-04-04 21:55 pgsql: Make an attempt at fixing our current Solaris 11 breakage: add a Tom Lane <tgl@postgresql.org>
2024-03-25 13:21 pgsql: ecpg: Fix return code for overflow in numeric conversion Daniel Gustafsson <dgustafsson@postgresql.org>
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