]> 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:30:38 +0000 (11:30 +0300)
commitf00fbad6bd43141faae05cd13a518fd28ae94673
tree14dc09ef8c42214ea2312d23350504c5044327e0
parent78e957dd46ce639559ff433a800fae47eb755cce
Avoid integer overflow when LIMIT + OFFSET >= 2^63.

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