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 87614D1B178 for ; Tue, 20 Jul 2004 18:49:18 -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 48827-04 for ; Tue, 20 Jul 2004 21:49:16 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id 0DB87D1B2D9 for ; Tue, 20 Jul 2004 18:49:12 -0300 (ADT) Received: (qmail 32531 invoked by uid 65534); 20 Jul 2004 21:49:14 -0000 Received: from dsl-082-082-232-034.arcor-ip.net (EHLO colt.pezone.net) (82.82.232.34) by mail.gmx.net (mp015) with SMTP; 20 Jul 2004 23:49:14 +0200 X-Authenticated: #495269 From: Peter Eisentraut To: Oliver Jowett , "pgsql-jdbc@postgresql.org" Subject: Re: JDBC3 + HOLD_CURSORS_OVER_COMMIT Date: Tue, 20 Jul 2004 23:49:13 +0200 User-Agent: KMail/1.5.1 References: <40FD90F2.1010006@opencloud.com> In-Reply-To: <40FD90F2.1010006@opencloud.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200407202349.13775.peter_e@gmx.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/241 X-Sequence-Number: 10625 Oliver Jowett wrote: > It occurred to me that we can support JDBC3's > HOLD_CURSORS_OVER_COMMIT behaviour quite simply by doing the same > thing we do with scrollable resultsets -- disable use of cursors > entirely. > > Does this sound worth doing? Obviously we could replace it with > proper WITH HOLD cursor-backed resultsets eventually.. PostgreSQL 7.4 supports holdable cursors. -- Peter Eisentraut http://developer.postgresql.org/~petere/