From: Michael Fuhr <mike@fuhr.org>
To: Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
Cc: PostgreSQL <pgsql-sql@postgresql.org>
Subject: Re: There is acid without transactions ?
Date: Sun, 11 Mar 2007 10:42:03 -0600
Message-ID: <20070311164202.GA30314@winnie.fuhr.org> (raw)
In-Reply-To: <55c095e90703110905u2fc29639v6b205ee806a3ba22@mail.gmail.com>
References: <55c095e90703110905u2fc29639v6b205ee806a3ba22@mail.gmail.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: mike@fuhr.org, ezequias.rocha@gmail.com
Subject: Re: There is acid without transactions ?
In-Reply-To: <20070311164202.GA30314@winnie.fuhr.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox