pgsql: Use correct symbol for minimum int64 value
Started by Peter Eisentrautabout 10 years ago1 messagescomitters
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 using PG_INT64_MIN.
Branch
------
REL9_5_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/fb279fc7a3e65d15be00f220543956433fdba844
Modified Files
--------------
contrib/btree_gin/btree_gin.c | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers