pgsql: Use correct symbol for minimum int64 value - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Use correct symbol for minimum int64 value
Date
Msg-id E1bOmKm-0001sS-Js@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Use correct symbol for minimum int64 value

The old code used SEQ_MINVALUE to get the smallest int64 value.  This
was done as a convenience to avoid having to deal with INT64_IS_BUSTED,
but that is obsolete now.  Also, it is incorrect because the smallest
int64 value is actually SEQ_MINVALUE-1.  Fix by writing out the constant
the long way, as it is done elsewhere in the code.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/805f2bb53f954a859fa0e7f27e13ba87c9e03595

Modified Files
--------------
contrib/btree_gin/btree_gin.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Use correct symbol for minimum int64 value
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Use correct symbol for minimum int64 value