Re: about truncate

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: about truncate
Дата
Msg-id 20081222034238.GF4200@fetter.org
обсуждение исходный текст
Ответ на about truncate  ("Jaime Casanova" <jcasanov@systemguards.com.ec>)
Ответы Re: about truncate  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Sun, Dec 21, 2008 at 10:09:54PM -0500, Jaime Casanova wrote:
> Hi,
> 
> just out of curiosity, why TRUNCATE doesn't support ONLY?
> 
> audit=# TRUNCATE only postgres_log;
> ERROR:  syntax error at or near "only"
> LINE 1: TRUNCATE only postgres_log;

Given that the main (and only sane, IMHO) use for table inheritance is
in table partitioning, can we see about deprecating ONLY (in the table
inheritance sense) for the next couple of development cycles and then
removing it?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


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

Предыдущее
От: "Robert Haas"
Дата:
Сообщение: Re: Proposed Patch to Improve Performance of Multi-Batch Hash Join for Skewed Data Sets
Следующее
От: Tom Lane
Дата:
Сообщение: Location for window function API definitions