Thread: SetFetchSize and SetFetchDirection

SetFetchSize and SetFetchDirection

From
Kim Ho
Date:
Here is a patch that will allow fetch directions and sizes to be used.

My output from running ex.java is:

$ java ex
1
2
3
4
5
6
7
7
6
5
4
3
2
1
$

Doing a select * from integer_tab in psql gives:

test=# select * from integer_tab;
 a
---
 1
 2
 3
 4
 5
 6
 7
(7 rows)

test=#

Cheers,

Kim


Attachment