| From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
|---|---|
| To: | Marcelo Pereira <gandalf(at)sum(dot)desktop(dot)com(dot)br> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Transactions (Really Simple) |
| Date: | 2002-02-26 12:44:29 |
| Message-ID: | 20020226234429.B21571@svana.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)svana(dot)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?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adam | 2002-02-26 12:45:07 | Re: setting up a trace through extended stored procedures |
| Previous Message | SURESH V | 2002-02-26 12:38:20 | problem in pgsql_perl5 module |