Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 64A889FB723 for ; Tue, 24 Apr 2007 16:26:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 77590-04 for ; Tue, 24 Apr 2007 16:26:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 74AA89FB642 for ; Tue, 24 Apr 2007 16:26:33 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l3OJQVJK007781; Tue, 24 Apr 2007 15:26:31 -0400 (EDT) To: Kris Jurka cc: pgsql-jdbc@postgreSQL.org Subject: Re: JDBC feature request: auto savepoint per command In-reply-to: References: <11539.1177352713@sss.pgh.pa.us> Comments: In-reply-to Kris Jurka message dated "Tue, 24 Apr 2007 14:26:33 -0400" Date: Tue, 24 Apr 2007 15:26:31 -0400 Message-ID: <7780.1177442791@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/108 X-Sequence-Number: 16957 Kris Jurka writes: > Previous discussions on this topic had the idea that auto-savepointing > would be done on a per-connection basis enabled via a URL parameter or > DataSource option. In an application server would you have a separate > connection pool for auto-savepointing connections? Would you force all > transactions to use auto-savepoints even if they didn't want/need them? > You could enable/disable it dynamically, but that would require pg > specific code, is that what they want to do? The JBoss guys think a URL option would work fine for them. regards, tom lane