Re: dropdb --force

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: dropdb --force
Дата
Msg-id d659cb43-9c08-4921-cb74-84252f5348f6@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: dropdb --force  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: dropdb --force  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: dropdb --force  (Amit Kapila <amit.kapila16@gmail.com>)
Список pgsql-hackers
On 2019-09-26 17:35, Alvaro Herrera wrote:
> Well, you would have one of those:
> 
> DROP DATABASE [IF EXISTS] name WITH (FORCE)
> DROP DATABASE [IF EXISTS] name
> 
> Naturally, the WITH is optional in the sense that the clause itself is
> optional.  (Note we don't have CASCADE/RESTRICT in DROP DATABASE.)

The WITH here seems weird to me.  Why not leave it out?

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: PostgreSQL12 and older versions of OpenSSL
Следующее
От: legrand legrand
Дата:
Сообщение: Re: Hooks for session start and end, take two