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