Transactions (Really Simple) - Mailing list pgsql-general

From Marcelo Pereira
Subject Transactions (Really Simple)
Date
Msg-id Pine.LNX.4.20.0202260859470.18764-100000@ni.hmmg.sp.gov.br
Whole thread Raw
Responses Re: Transactions (Really Simple)
List pgsql-general
Hello all,

I would like to use transactions while inserting, deleting or updating
data from my database.

I have read the on-line documentation, but I would like some help.

How could I implement transaction feature to the `insert command' bellow?

-------------------------------
...... which command here?
insert into table1 (field11,field12) values ('value11','value12')
insert into table2 (field21,field22) values ('value21','value22')
...... which command here?
-------------------------------

Thanks in advance,

Marcelo Pereira


pgsql-general by date:

Previous
From: Janning Vygen
Date:
Subject: Sql basic Query
Next
From: f2160528@est.fib.upc.es
Date:
Subject: Wisconsin Benchmark