From: | "Marian Naghen" <naghen(at)ratb(dot)ro> |
---|---|
To: | "Tino Wildenhain" <tino(at)wildenhain(dot)de> |
Cc: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: sequences in transaction blocks |
Date: | 2005-12-19 09:57:26 |
Message-ID: | 000f01c60482$9e0e8890$f503a8c0@lapcontr01 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Okay, all clear.
Thanx a lot.
----- Original Message -----
From: "Tino Wildenhain" <tino(at)wildenhain(dot)de>
To: "Marian Naghen" <naghen(at)ratb(dot)ro>
Cc: <pgsql-general(at)postgresql(dot)org>
Sent: Monday, December 19, 2005 7:50 AM
Subject: Re: [GENERAL] sequences in transaction blocks
> Am Montag, den 19.12.2005, 09:39 +0000 schrieb Marian Naghen:
> > I want to insert records inside a transaction block (BEGIN -
> > COMMIT/ROLLBACK). If the transaction fails,
> > the sequence do not rollback and retain the new value.
> >
> > This is the default behavior of sequences ?
>
> Yes it is (its the whole point of sequences)
> please see the docs, for example:
>
> http://www.postgresql.org/docs/current/static/functions-sequence.html
>
> especially the last paragraph.
>
> HTH
> Tino Wildenhain
>
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim GUNDUZ | 2005-12-19 10:31:13 | Re: Installation trouble - Solved |
Previous Message | Marian Naghen | 2005-12-19 09:39:11 | sequences in transaction blocks |