Re: COMMIT in PostgreSQL

From: Tom Jenkins <tjenkins(at)devis(dot)com>
To: Susan Lane <suel(at)dpn(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: COMMIT in PostgreSQL
Date: 2002-07-19 21:16:20
Message-ID: 1027113380.6793.141.camel@asimov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 2002-07-19 at 17:06, Susan Lane wrote:
> > > > AFAIAA each query sent to the backend is a transaction and is treated
> as
> > > > such unless you explicitly send a BEGIN.
> > > >
> > > > If you send a BEGIN then you can send multiple INSERTS etc and then do
> a
> > > > manual COMMIT.
>
> I have noticed this difference between Postgres and Oracle as well. I
> wonder if there is a rollback mechanism as there is in Oracle. I mean if
> you use a BEGIN, can you rollback in Postgres?
>

Yes

--

Tom Jenkins
Development InfoStructure
http://www.devis.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2002-07-19 21:32:38 Re: COMMIT in PostgreSQL
Previous Message Susan Lane 2002-07-19 21:14:10 Modifying column size