pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Use correct symbol for minimum int64 value 6+ messages / 1 participants [nested] [flat]
* pgsql: Use correct symbol for minimum int64 value @ 2016-07-17 13:42 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2016-07-17 13:42 UTC (permalink / raw) To: pgsql-committers 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 ------ master Details ------- http://git.postgresql.org/pg/commitdiff/f36ca9af05dd0468cdee28fbdbded690a10ff08b 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 ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Use correct symbol for minimum int64 value @ 2016-07-17 13:42 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2016-07-17 13:42 UTC (permalink / raw) To: pgsql-committers 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 ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Use correct symbol for minimum int64 value @ 2016-07-17 13:42 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2016-07-17 13:42 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/97d741650d4cd0e9c7724065ae6363ab0dcf1c60 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 ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Use correct symbol for minimum int64 value @ 2016-07-17 13:42 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2016-07-17 13:42 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_3_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/805f2bb53f954a859fa0e7f27e13ba87c9e03595 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 ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Use correct symbol for minimum int64 value @ 2016-07-17 13:42 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2016-07-17 13:42 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_2_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/6c0be49b2ab7a673656d385ba09fc0c1657c6e33 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 ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Use correct symbol for minimum int64 value @ 2016-07-17 13:42 Peter Eisentraut <peter_e@gmx.net> 0 siblings, 0 replies; 6+ messages in thread From: Peter Eisentraut @ 2016-07-17 13:42 UTC (permalink / raw) To: pgsql-committers 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. Branch ------ REL9_1_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/84d67920450717d458cfaad7876fa8279fd7ced0 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 ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2016-07-17 13:42 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2016-07-17 13:42 pgsql: Use correct symbol for minimum int64 value Peter Eisentraut <peter_e@gmx.net> 2016-07-17 13:42 pgsql: Use correct symbol for minimum int64 value Peter Eisentraut <peter_e@gmx.net> 2016-07-17 13:42 pgsql: Use correct symbol for minimum int64 value Peter Eisentraut <peter_e@gmx.net> 2016-07-17 13:42 pgsql: Use correct symbol for minimum int64 value Peter Eisentraut <peter_e@gmx.net> 2016-07-17 13:42 pgsql: Use correct symbol for minimum int64 value Peter Eisentraut <peter_e@gmx.net> 2016-07-17 13:42 pgsql: Use correct symbol for minimum int64 value Peter Eisentraut <peter_e@gmx.net>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox