Skip site navigation (1) Skip section navigation (2)

fetchsize dynamically changeable?

From: Guido Fiala <guido(dot)fiala(at)dka-gmbh(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: fetchsize dynamically changeable?
Date: 2004-07-28 06:39:56
Message-ID: (view raw or whole thread)
Lists: pgsql-jdbc
Given all the other requirements for cursors are met, is it possible to change 
the fetchsize on the fly?

rs=st.executeQuery(...);//we got the first record
st.setFetchsize(10);; //now we got records nr. 2-11 in memory and sit at nr. 2

BTW - how is FETCH BACKWARD, what needs to be done to get it working?


pgsql-jdbc by date

Next:From: Oliver JowettDate: 2004-07-28 08:08:38
Subject: Re: fetchsize dynamically changeable?
Previous:From: Oliver JowettDate: 2004-07-27 22:19:03
Subject: Re: [HACKERS] Binary Cursors, and the COPY command

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group