Use correct symbol for minimum int64 value

Peter Eisentraut <peter_e@gmx.net>

Commit: f36ca9af05dd0468cdee28fbdbded690a10ff08b
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2016-07-17T13:15:37Z
Releases: 9.6.0
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.

Files

PathChange+/−
contrib/btree_gin/btree_gin.c modified +2 −8