Re: improve CREATE EXTENSION error message

Поиск
Список
Период
Сортировка
От Bossart, Nathan
Тема Re: improve CREATE EXTENSION error message
Дата
Msg-id 1003AC46-48C0-4322-9499-3D01000304A3@amazon.com
обсуждение исходный текст
Ответ на Re: improve CREATE EXTENSION error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 11/29/21, 1:03 PM, "Tom Lane" <tgl@sss.pgh.pa.us> wrote:
> If we issue the hint only for errno == ENOENT, I think we could be
> less wishy-washy (and if it's not ENOENT, the hint is likely
> inappropriate anyway).  I'm thinking something more like
>
> HINT:  This means the extension is not installed on the system.

Good idea.

> I'm not quite satisfied with the "on the system" wording, but I'm
> not sure of what would be better.  I agree that we can't just say
> "is not installed", because people will confuse that with whether
> it is installed within the database.

Right.  The only other idea I have at the moment is to say something
like

        This means the extension is not available[ on the system].

I don't know whether that is actually any less confusing, though.

Nathan


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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: improve CREATE EXTENSION error message
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Lots of memory allocated when reassigning Large Objects