Re: TRUNCATE TABLE with IDENTITY

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: TRUNCATE TABLE with IDENTITY
Дата
Msg-id 1206460945.4285.955.camel@ebony.site
обсуждение исходный текст
Ответ на Re: TRUNCATE TABLE with IDENTITY  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, 2008-03-25 at 11:48 -0400, Tom Lane wrote:
> 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.

It's at the final yes-or-no vote stage. Seems unlikely to be "no" to me,
and it would be good to be seen to be proactive on standards support.

The added functionality in this case isn't nil.

--  Simon Riggs 2ndQuadrant  http://www.2ndQuadrant.com 
 PostgreSQL UK 2008 Conference: http://www.postgresql.org.uk



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: HP-UX 11.11 PostgreSQL 8.3.1 - psql core dumps - Unresolved symbol: tgetent
Следующее
От: Steve Crawford
Дата:
Сообщение: Re: TRUNCATE TABLE with IDENTITY