The following bug has been logged on the website:
Bug reference: 6315
Logged by: Bernhard Reutner-Fischer
Email address: rep.dot.nop@gmail.com
PostgreSQL version: 9.1.1
Operating system: linux
Description:=20=20=20=20=20=20=20=20
Binding for "OFFSET :offset" works fine but binding for a "F=
ETCH NEXT :next
ROWS ONLY" raises:
syntax error at or near "$2"
SELECT * FROM foo OFFSET $1 ROWS FETCH NEXT $2 ROWS ONLY