]> git.ipfire.org Git - thirdparty/postgresql.git/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:39:51 +0000 (09:39 -0400)
commit6c0be49b2ab7a673656d385ba09fc0c1657c6e33
tree86fff1719d71f321a8b86c0639eb61e9bc0dfa84
parent89b301104a6c5522bb9dc91565ac0e2cb5f4ddb4
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