Re: Truncate Triggers

Поиск
Список
Период
Сортировка
От Hannu Krosing
Тема Re: Truncate Triggers
Дата
Msg-id 1201776054.7105.12.camel@huvostro
обсуждение исходный текст
Ответ на Re: Truncate Triggers  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
On Thu, 2008-01-31 at 10:22 +0000, Gregory Stark wrote:
> "Decibel!" <decibel@decibel.org> writes:
> 
> > CLUSTER isn't DDL. Most forms of ALTER TABLE are. And CREATE blah, etc.
> 
> Fwiw I would call CLUSTER DDL. Note that it does make a change that's visible
> in the table definition afterwards.

Is it really ?

What change does TRUNCATE make in table definition ?

> 
> There are plenty of DDL commands which modify data (CREATE INDEX, ATLER TABLE
> ALTER COLUMN TYPE). The defining characteristic of DDL is not that it doesn't
> modify the data but that it does modify the table definition.
> 
> By that definition CLUSTER is DDL and TRUNCATE is DDL if you look at the
> implementation rather than the user-visible effects.
> 



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

Предыдущее
От: Hannu Krosing
Дата:
Сообщение: Re: Will PostgreSQL get ported to CUDA?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Truncate Triggers