Re: TRUNCATE TABLE with IDENTITY
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Date: 2008-03-25T15:48:48Z
Lists: pgsql-hackers
Simon Riggs <simon@2ndquadrant.com> writes: > SQL200n specifies a new qualifier on a TRUNCATE command > TRUNCATE TABLE foo > [ CONTINUE IDENTITY | RESTART IDENTITY ] > CONTINUE IDENTITY is the default and does nothing, like now. > RESTART IDENTITY will reset the SERIAL sequences back to the original > start value. > Seems like a % project for the TODO list Seems like copying syntax from a *draft* standard is a bit premature, especially when the amount of functionality added is nil. regards, tom lane