]> granicus.if.org Git - postgresql/commit
Use correct symbol for minimum int64 value
authorPeter Eisentraut <peter_e@gmx.net>
Sun, 17 Jul 2016 13:15:37 +0000 (09:15 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sun, 17 Jul 2016 13:24:06 +0000 (09:24 -0400)
commitfb279fc7a3e65d15be00f220543956433fdba844
treeeedeb3a4d45701bf04631feed1ba58a9667f43c0
parent884bae143c235981e53eae4ea56c47060740e3ee
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.
contrib/btree_gin/btree_gin.c