Skip site navigation (1) Skip section navigation (2)

autocommit

From: Kemin Zhou <kemin(dot)zhou(at)ferring(dot)com>
To: "pgsql-sql (at) postgresql (dot) org" <pgsql-sql(at)postgresql(dot)org>
Subject: autocommit
Date: 2004-03-26 19:31:27
Message-ID: 4064850F.5000104@ferring.com (view raw or flat)
Thread:
Lists: pgsql-sql
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.
**********************************************************************


Responses

pgsql-sql by date

Next:From: Tom LaneDate: 2004-03-26 21:43:11
Subject: Re: Invalid Unicode Character Sequence found
Previous:From: Rod TaylorDate: 2004-03-26 14:49:12
Subject: Re: Newbie Query question

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group