pgsql/src/backend parser/scan.l nodes/read.c u ... - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src/backend parser/scan.l nodes/read.c u ...
Date
Msg-id 200103221741.f2MHflu52550@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/03/22 12:41:47

Modified files:
    src/backend/parser: scan.l
    src/backend/nodes: read.c
    src/backend/utils/misc: guc.c

Log message:
    Fix Joubert's complaint that int8-sized numeric literals are mishandled
    on Alpha (because parser mistakenly assumes that a nonoverflow result
    from strtol means the value will fit into int4).  A scan for other uses
    of strtol and strtoul found a couple other places with the same mistake;
    fix them too.  The changes are all conditional on HAVE_LONG_INT_64 to
    avoid complaints from compilers that think x != x is a silly test
    (cf. pg_atoi).


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: pgsql/ ontrib/pg_dumplo/lo_export.c ontrib/pg_ ...
Next
From: The Hermit Hacker
Date:
Subject: Re: pgsql/ ontrib/pg_dumplo/lo_export.c ontrib/pg_ ...