X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 77F47D1ED18 for ; Fri, 26 Mar 2004 19:31:07 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 23020-10 for ; Fri, 26 Mar 2004 15:31:07 -0400 (AST) Received: from fedk0910.ferring.com (fedk0905.ferring.com [213.237.141.20]) by svr1.postgresql.org (Postfix) with ESMTP id E62E4D1B88A for ; Fri, 26 Mar 2004 15:30:58 -0400 (AST) Received: from fedk0005.Fic.ferring.com (unverified) by fedk0910.ferring.com (Content Technologies SMTPRS 4.3.10) with ESMTP id for ; Fri, 26 Mar 2004 20:30:36 +0100 Received: from ferring.com (10.20.100.63 [10.20.100.63]) by fedk0005.Fic.ferring.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id HJQ4CJFS; Fri, 26 Mar 2004 20:31:01 +0100 Message-ID: <4064850F.5000104@ferring.com> Date: Fri, 26 Mar 2004 11:31:27 -0800 From: Kemin Zhou User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "pgsql-sql @ postgresql . org" Subject: autocommit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/258 X-Sequence-Number: 17357 This might be a wish list or add feature. Could we add one simple switch to psql (the client front end or the library) --noautocommit? This will require you to type commit at the end of a query. Most of the time I would be using psql to do simple stuff. Some times I need to update databases. I kind get used to the autocommit. When forgot to type BEGIN I some times destroy the content of certain table when updating tables. the I have go for the backup. Is my request reasonable or I have to cultivate a good habit? Kemin ********************************************************************** Proprietary or confidential information belonging to Ferring Holding SA or to one of its affiliated companies may be contained in the message. If you are not the addressee indicated in this message (or responsible for the delivery of the message to such person), please do not copy or deliver this message to anyone. In such case, please destroy this message and notify the sender by reply e-mail. Please advise the sender immediately if you or your employer do not consent to e-mail for messages of this kind. Opinions, conclusions and other information in this message represent the opinion of the sender and do not necessarily represent or reflect the views and opinions of Ferring. **********************************************************************