| From: | Kim Ho <kho(at)redhat(dot)com> | 
|---|---|
| To: | pgsql-jdbc <pgsql-jdbc(at)postgresql(dot)org> | 
| Subject: | SetFetchSize and SetFetchDirection | 
| Date: | 2003-07-30 14:32:50 | 
| Message-ID: | 1059575568.5322.51.camel@yay-lap | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-jdbc | 
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 | Content-Type | Size | 
|---|---|---|
| setFetch.diff | text/x-patch | 10.7 KB | 
| ex.java | text/x-java | 614 bytes | 
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fernando Nasser | 2003-07-30 15:24:40 | Re: JDBC stored procs doc patch | 
| Previous Message | Tom Lane | 2003-07-30 13:48:54 | Re: Very strange 'now' behaviour in nested triggers. |