psql and autocommit - Mailing list pgsql-admin

From Tsirkin Evgeny
Subject psql and autocommit
Date
Msg-id Pine.LNX.4.58.0408231615000.2753@p-roman.jct.ac.il
Whole thread Raw
Responses Re: psql and autocommit  (Radu-Adrian Popescu <radu.popescu@aldratech.com>)
Re: psql and autocommit  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-admin
Hi all!
I am using 7.3.4
while executing psql -c the query is not commited
that is probably because i have setted the autocommit = false
However that is very unheandy - i have to add begin and
commit to my shell scripts.I beleave that automatically
commiting the psql -c queries is very logical thing.
Is there a way to avoid this ?
If that is not changed in 7.4  maybe it should be in
future versions?
Thanks.

--
Evgeny.

pgsql-admin by date:

Previous
From: "Kevin Izzet"
Date:
Subject: Re: Looking for tool for Graphic Database Design
Next
From: Radu-Adrian Popescu
Date:
Subject: Re: psql and autocommit