]> granicus.if.org Git - postgresql/commit
Avoid integer overflow when LIMIT + OFFSET >= 2^63.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Aug 2011 07:47:17 +0000 (10:47 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 2 Aug 2011 08:29:43 +0000 (11:29 +0300)
commitbc6616aaedbe4bcd2441334a3bf8f43fe9635bf1
tree0575a5eda28cb572e54841275a904ebbf21a7a17
parentc1b910ed189a04c199fc1fb146262053827b524f
Avoid integer overflow when LIMIT + OFFSET >= 2^63.

This fixes bug #6139 reported by Hitoshi Harada.
src/backend/executor/nodeLimit.c