Re: There is acid without transactions ?

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Ezequias Rodrigues da Rocha <ezequias(dot)rocha(at)gmail(dot)com>
Cc: PostgreSQL <pgsql-sql(at)postgresql(dot)org>
Subject: Re: There is acid without transactions ?
Date: 2007-03-11 16:42:03
Message-ID: 20070311164202.GA30314@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Sun, Mar 11, 2007 at 01:05:12PM -0300, Ezequias Rodrigues da Rocha wrote:
> I would like to know if an statement like.
>
> Insert into foo values (1,'Brazil');
>
> Makes an ACID transaction. I am wondered if i must have a Begin...Commit
> statemnt to garantee my ACIDs transactions.

http://www.postgresql.org/docs/8.2/interactive/tutorial-transactions.html

"PostgreSQL actually treats every SQL statement as being executed
within a transaction. If you do not issue a BEGIN command, then
each individual statement has an implicit BEGIN and (if successful)
COMMIT wrapped around it."

--
Michael Fuhr

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Ezequias Rodrigues da Rocha 2007-03-11 16:42:36 Re: There is acid without transactions ?
Previous Message Ezequias Rodrigues da Rocha 2007-03-11 16:39:36 Re: There is acid without transactions ?