Re: creating extension including dependencies

Поиск
Список
Период
Сортировка
От Petr Jelinek
Тема Re: creating extension including dependencies
Дата
Msg-id 55FEC502.3090008@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: creating extension including dependencies  (Petr Jelinek <petr@2ndquadrant.com>)
Ответы Re: creating extension including dependencies  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 2015-09-18 04:52, Petr Jelinek wrote:
> On 2015-09-17 17:31, Jeff Janes wrote:
>>
>> If I fail to specify CASCADE and get an ERROR, I think there should be a
>> HINT which suggests the use of CASCADE.
>>
>>
>> create extension earthdistance ;
>> ERROR:  required extension "cube" is not installed
>>
>> (no hint)
>>
>> There is a HINT on the reverse operation:
>> drop extension cube;
>> ERROR:  cannot drop extension cube because other objects depend on it
>> DETAIL:  extension earthdistance depends on extension cube
>> HINT:  Use DROP ... CASCADE to drop the dependent objects too.
>
> Makes sense.
>

Here it is.


--
  Petr Jelinek                  http://www.2ndQuadrant.com/
  PostgreSQL Development, 24x7 Support, Training & Services

Вложения

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

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: WIP: Rework access method interface
Следующее
От: Dmitry Dolgov
Дата:
Сообщение: Re: jsonb_set array append hack?