X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id A67165E37CB for ; Mon, 23 Aug 2004 10:40:28 -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 04964-09 for ; Mon, 23 Aug 2004 13:40:23 +0000 (GMT) Received: from mxc.pcnet.ro (unknown [82.137.14.5]) by svr1.postgresql.org (Postfix) with ESMTP id 6A68B5E46E2 for ; Mon, 23 Aug 2004 10:40:19 -0300 (ADT) Received: from aldratech.com (aldratech.com.pcnet.ro [213.154.158.58] (may be forged)) by mxc.pcnet.ro (8.12.10/8.12.10) with ESMTP id i7NDZr85030269 for ; Mon, 23 Aug 2004 16:35:53 +0300 Received: from [192.168.0.6] ([192.168.0.6]) by aldratech.com for with eXtremail; Mon, 23 Aug 2004 16:40:21 +3GMT Message-ID: <4129F3C0.7080102@aldratech.com> Date: Mon, 23 Aug 2004 16:40:16 +0300 From: Radu-Adrian Popescu Reply-To: radu.popescu@aldratech.com Organization: Aldratech Ltd. User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.2) Gecko/20040803 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Cc: Tsirkin Evgeny Subject: Re: psql and autocommit References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: 200408/213 X-Sequence-Number: 14608 Tsirkin Evgeny wrote: [snip] > commit to my shell scripts.I beleave that automatically > commiting the psql -c queries is very logical thing. I'm sure there are people who disagree with that statement. For instance Oracle's sqlplus starts in noautocommit by default. And I've found that to be a good thing actually. For what it's worth I also think default client policy may as well be left unchanged, or there will be a lot of baffled people. Regards, -- Radu-Adrian Popescu CSA, DBA, Developer Aldrapay MD Aldratech Ltd. +40213212243