Re: improve CREATE EXTENSION error message

Поиск
Список
Период
Сортировка
От Bossart, Nathan
Тема Re: improve CREATE EXTENSION error message
Дата
Msg-id 2D9094F2-BA62-4DCE-A357-9433B7AAA225@amazon.com
обсуждение исходный текст
Ответ на Re: improve CREATE EXTENSION error message  (Chapman Flack <chap@anastigmatix.net>)
Ответы Re: improve CREATE EXTENSION error message  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 11/29/21, 3:47 PM, "Chapman Flack" <chap@anastigmatix.net> wrote:
> My leaning is generally to use %m and therefore the exact OS message
> in the detail, but I don't claim to speak for the project style on that.

Okay, the message looks like this in v5:

        postgres=# CREATE EXTENSION does_not_exist;
        ERROR:  extension "does_not_exist" is not available
        DETAIL:  Could not open extension control file "/usr/local/pgsql/share/extension/does_not_exist.control": No
suchfile or directory.
 
        HINT:  The extension must first be installed on the system where PostgreSQL is running.

Nathan


Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Correct handling of blank/commented lines in PSQL interactive-mode history
Следующее
От: Andy Fan
Дата:
Сообщение: Re: Can I assume relation would not be invalid during from ExecutorRun to ExecutorEnd