Re: Rollback sequence reset on TRUNCATE rollback patch
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steve Singer <ssinger@ca.afilias.info>
Cc: PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>
Date: 2010-11-17T21:45:49Z
Lists: 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