X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D6291536C8 for ; Fri, 29 Apr 2005 06:58:40 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66319-02 for ; Fri, 29 Apr 2005 09:58:32 +0000 (GMT) Received: from mail63.csoft.net (leary3.csoft.net [63.111.22.74]) by svr1.postgresql.org (Postfix) with SMTP id BF5295368F for ; Fri, 29 Apr 2005 06:58:31 -0300 (ADT) Received: (qmail 13581 invoked by uid 1112); 29 Apr 2005 09:58:34 -0000 Date: Fri, 29 Apr 2005 04:58:34 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Antony Paul Cc: PostgreSQL JDBC Subject: Re: Impact of open ResultSets and PreparedStatements ? In-Reply-To: <2989532e050429024652aca0be@mail.gmail.com> Message-ID: References: <2989532e0504260624230facf6@mail.gmail.com> <2989532e050429024652aca0be@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.011 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200504/213 X-Sequence-Number: 12820 On Fri, 29 Apr 2005, Antony Paul wrote: > I am using PostgreSQL 7.3 (server and JDBC driver) and no stored > procedures are used but uses the built in functions. I know that in > this version PreparedStatements are not kept in the server. What about > the ResultSet ?. Does all the data is transferred to application right > after the query is executed or only a predefined no of records are > returned while going through the rs.next() call ?. > In 7.3 all ResultSets fetch the entire result immediately leaving nothing on the server. Kris Jurka