pgsql/src/backend parser/scan.l nodes/read.c u ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend parser/scan.l nodes/read.c u ...
Date: 2001-03-22 17:41:47
Message-ID: 200103221741.f2MHflu52550@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)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).

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2001-03-22 17:55:17 Re: pgsql/ ontrib/pg_dumplo/lo_export.c ontrib/pg_ ...
Previous Message The Hermit Hacker 2001-03-22 17:36:58 Re: pgsql/ ontrib/pg_dumplo/lo_export.c ontrib/pg_ ...