Re: Transactions (Really Simple) - Mailing list pgsql-general

From Martijn van Oosterhout
Subject Re: Transactions (Really Simple)
Date
Msg-id 20020226234429.B21571@svana.org
Whole thread Raw
In response to Transactions (Really Simple)  (Marcelo Pereira <gandalf@sum.desktop.com.br>)
List pgsql-general
On Tue, Feb 26, 2002 at 09:07:33AM -0300, Marcelo Pereira wrote:
> How could I implement transaction feature to the `insert command' bellow?
>
> -------------------------------
> ...... which command here?
begin;
> insert into table1 (field11,field12) values ('value11','value12')
> insert into table2 (field21,field22) values ('value21','value22')
> ...... which command here?
commit;
> -------------------------------

HTH,
--
Martijn van Oosterhout <kleptog@svana.org>
http://svana.org/kleptog/
> If the company that invents a cure for AIDS is expected to make their
> money back in 17 years, why can't we ask the same of the company that
> markets big-titted lip-syncing chicks and goddamn cartoon mice?

pgsql-general by date:

Previous
From: f2160528@est.fib.upc.es
Date:
Subject: Wisconsin Benchmark
Next
From: Martín Marqués
Date:
Subject: Re: Wisconsin Benchmark