]> 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 07:47:17 +0000 (10:47 +0300)
commit89df948ec26679e09f71baf6bbb9b06f9d329712
tree8771b7a6db05cbf1434c348bf7c8f0be81cc87e6
parent85b436f7b1f06a6ffa8d2f29b03d6e440de18784
Avoid integer overflow when LIMIT + OFFSET >= 2^63.

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