Re: Truncate if exists

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Truncate if exists
Дата
Msg-id m2pq4nzlpu.fsf@2ndQuadrant.fr
обсуждение исходный текст
Ответ на Re: Truncate if exists  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> This strikes me as just highly un-SQL-like.

+1

> I tend to agree with Noah's comment upthread:
>
>> But the syntax is a bandage for raw psql input remaining a hostile
>> environment for implementing the full range of schema changes.  Switch to
>> submitting your SQL from a richer programming environment, and these additions
>> to core syntax cease to add much.

I think the comment is generally true, but fails in the face of the
simplicity of this particular grammar addition. Also, I have the same
problem as Sébastien to understand Tom's usage example.

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Truncate if exists
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Deparsing DDL command strings