Re: autocommit vs TRUNCATE et al - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: autocommit vs TRUNCATE et al
Date
Msg-id 200210212239.g9LMdpG17869@candle.pha.pa.us
Whole thread Raw
In response to Re: autocommit vs TRUNCATE et al  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: autocommit vs TRUNCATE et al  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Maybe we can throw a WARNING when autocommit is on.  Would that make
> > everyone happy?
> 
> I doubt it, because by the time you read the WARNING it's too late:
> the statement's already committed.

I assume the same limitation would hold for VACUUM, right, that you have
to turn on autocommit mode to use it?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: autocommit vs TRUNCATE et al
Next
From: Tom Lane
Date:
Subject: Re: autocommit vs TRUNCATE et al