BUG #6315: FETCH NEXT :next ROWS ONLY fails

From: rep(dot)dot(dot)nop(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6315: FETCH NEXT :next ROWS ONLY fails
Date: 2011-12-01 19:09:03
Message-ID: E1RWC0F-0000xy-Bh@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 6315
Logged by: Bernhard Reutner-Fischer
Email address: rep(dot)dot(dot)nop(at)gmail(dot)com
PostgreSQL version: 9.1.1
Operating system: linux
Description:

Binding for "OFFSET :offset" works fine but binding for a "FETCH NEXT :next
ROWS ONLY" raises:
syntax error at or near "$2"
SELECT * FROM foo OFFSET $1 ROWS FETCH NEXT $2 ROWS ONLY

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Robert Haas 2011-12-01 20:11:42 Re: Postgre Cross compilation for coldfire processor.
Previous Message Tom Lane 2011-12-01 18:08:01 Re: BUG #6314: The like command does not handle a long string of special chars