From: Денис Осадчий <osadchy@turbo.nsk.su>
To: pgsql-admin@postgresql.org
Date: Fri, 21 Jul 2000 17:48:38 +0600
Message-ID: <5742.000721@turbo.nsk.su> (raw)
Hello,
I try to select rows with LIMIT statement:
select NICO, NICO, InDate from FirmICO LIMIT 5 OFFSET 5;
- It works correctly.
But when i try aply this query to declare cursor, it returns me all rows:
DECLARE scursor CURSOR FOR select NICO, NICO, InDate from FirmICO
LIMIT 5 OFFSET 5;
Why it happends?
My be it important: i try declare cursor in C program, using LIBPQ programming
interface.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: osadchy@turbo.nsk.su
Subject: Re:
In-Reply-To: <5742.000721@turbo.nsk.su>
References: <5742.000721@turbo.nsk.su>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox