Re: Transacciones!

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: jlcambero <jlcambero(at)emergya(dot)es>
Cc: pgsql-es-ayuda(at)postgresql(dot)org
Subject: Re: Transacciones!
Date: 2007-06-27 13:47:04
Message-ID: 20070627134704.GC4826@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

jlcambero escribió:

> mmm a ver si lo he entendido yo!
>
> BEGIN
> llamada_funcion();
>
> r = llamada_funcion2();
> IF (!r)
> ROLLBACK;
>
>
> Si quiero hacer un rollback de "llamada_funcion()" al fallar llamada_funcion2
> () se podria hacer así?

Claro.

--
Alvaro Herrera http://www.amazon.com/gp/registry/CTMLCN8V17R4
"That sort of implies that there are Emacs keystrokes which aren't obscure.
I've been using it daily for 2 years now and have yet to discover any key
sequence which makes any sense." (Paul Thomas)

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Alvaro Herrera 2007-06-27 13:52:59 Re: slony
Previous Message Mario Gonzalez 2007-06-27 13:45:06 Re: slony