Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id C0F53633723 for ; Mon, 12 Oct 2009 13:35:34 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 37329-10 for ; Mon, 12 Oct 2009 16:35:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mail.postgresql.org (Postfix) with ESMTP id 6EF62633611 for ; Mon, 12 Oct 2009 13:35:23 -0300 (ADT) Received: by ey-out-2122.google.com with SMTP id 4so2769111eyf.33 for ; Mon, 12 Oct 2009 09:35:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to :content-type:content-transfer-encoding; bh=gJwaYHG3lgsDbjdkmhhyfcMC4xqbS4FOXftMOF+Byw0=; b=Yd2EM+rJN55+90OvgdiLMDeIcZKiXRgLlKteIQ7eez3i/Qg6hwUpSAda3m90YZFiBl 8WJz70QFvalga7gD7re/BUGnZI+DmvwSw9yiX7KN+63vWWqqN4Oa/YHIuQ99l3j2ZX1e p0stBHeo3uDdazIbeUgKdYF5+5iBfD6Fx2wv0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=j5uMAmj3bbX7eXEyMpW9CyC08JkoNFT2blTbuWKUJDDr1B8D0Lq5VvrIaGvi7F1jho QEWevChEvWucaHuaM977L5XYJKlXDKW2EnkeTCks++dXGnyUQ+CnfMWEJ0fwu4nJeapT 9n3CUwD1LDTffPMsoRbqr0LM0BvUm6OHfti4k= MIME-Version: 1.0 Received: by 10.216.89.84 with SMTP id b62mr2093921wef.227.1255365321528; Mon, 12 Oct 2009 09:35:21 -0700 (PDT) In-Reply-To: <7c49e7040910120932o6d15aceai6304c01e8f2ea4d9@mail.gmail.com> References: <7c49e7040910081302v284f417bk6301b39e3eee474b@mail.gmail.com> <4ACF0988.4080909@opencloud.com> <7c49e7040910090935n6973d5c0xd9082ea926f90526@mail.gmail.com> <4AD25958.9010906@opencloud.com> <7c49e7040910120932o6d15aceai6304c01e8f2ea4d9@mail.gmail.com> Date: Mon, 12 Oct 2009 17:35:21 +0100 X-Google-Sender-Auth: be1d531ce05bf179 Message-ID: <7c49e7040910120935p16a9bd25p5dea5098a04a6e5f@mail.gmail.com> Subject: Re: Connection Properties for FetchSize and Autocommit From: David Langton To: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200910/10 X-Sequence-Number: 20012 > > The issue I see is that it can cause silent data loss. An application tha= t > expects the documented API default - autocommit on - and just does some > UPDATEs is going to throw away all its changes if autocommit is mysteriou= sly > off by default, because it's never going to call commit(). > > -O > Yes, of course you are right and it would be very bad indeed. =A0I guess I wasn't thinking of the impact properly (the app I am working with isn't doing updates). Maybe I'll revisit this again one day, but think about it a bit more first!