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

From Steve Singer
Subject Rollback sequence reset on TRUNCATE rollback patch
Date
Msg-id 4CC6E006.7020403@ca.afilias.info
Whole thread Raw
Responses Re: Rollback sequence reset on TRUNCATE rollback patch
List pgsql-hackers
The attached patch modifies TRUNCATE ... RESTART IDENTITY so that if the
transaction rolls back the restart of the sequence will also be rolled back.

It follows the general outline discussed at
http://archives.postgresql.org/pgsql-hackers/2008-05/msg00550.php of
assigning a new reffilenode to the sequence.


I will add this to the next commitfest.


Steve

Attachment

pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: add label to enum syntax
Next
From: Robert Haas
Date:
Subject: Re: add label to enum syntax