Re: Truncate if exists

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Truncate if exists
Дата
Msg-id 5078A00E.5080106@agliodbs.com
обсуждение исходный текст
Ответ на Re: Truncate if exists  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
On 10/12/12 3:49 PM, Greg Stark wrote:
> TRUNCATE IF EXISTS foo;
> CREATE IF NOT EXISTS foo...

Thing is, this can be written:

CREATE IF NOT EXISTS foo ...
TRUNCATE foo;

For the exact same result.

So, based on all of the objections and discussion on this feature, I
personally no longer support it.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



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

Предыдущее
От: Greg Stark
Дата:
Сообщение: Re: Truncate if exists
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: Successor of MD5 authentication, let's use SCRAM