Re: Rollback sequence reset on TRUNCATE rollback patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Rollback sequence reset on TRUNCATE rollback patch
Date
Msg-id 24612.1290030349@sss.pgh.pa.us
Whole thread Raw
In response to Rollback sequence reset on TRUNCATE rollback patch  (Steve Singer <ssinger@ca.afilias.info>)
List pgsql-hackers
Steve Singer <ssinger@ca.afilias.info> writes:
> The attached patch modifies TRUNCATE ... RESTART IDENTITY so that if the 
> transaction rolls back the restart of the sequence will also be rolled back.

Applied with significant editorialization (didn't much like the
refactoring you'd chosen for DefineSequence, and there were some
other issues).
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: unlogged tables
Next
From: Josh Berkus
Date:
Subject: We need to log aborted autovacuums