From: | "Bossart, Nathan" <bossartn(at)amazon(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | Chapman Flack <chap(at)anastigmatix(dot)net>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: improve CREATE EXTENSION error message |
Date: | 2021-11-29 22:18:48 |
Message-ID: | FF969B60-DDAF-44D3-A8F7-0C12604C6AEE@amazon.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 11/29/21, 2:13 PM, "Bossart, Nathan" <bossartn(at)amazon(dot)com> wrote:
> Alright, here's v3. In this version, I actually removed the message
> about the control file entirely, so now the error message looks like
> this:
>
> postgres=# CREATE EXTENSION does_not_exist;
> ERROR: extension "does_not_exist" is not available
> DETAIL: The extension must first be installed on the system where PostgreSQL is running.
> HINT: The pg_available_extensions view lists the extensions that are available for installation.
>
> I can add the control file part back if we think it's necessary.
Hm. I should probably adjust the hint to avoid confusion from
"installed on the system" and "available for installation." Maybe
something like
The pg_available_extensions view lists the available extensions.
Nathan
From | Date | Subject | |
---|---|---|---|
Next Message | Chapman Flack | 2021-11-29 22:24:12 | Re: improve CREATE EXTENSION error message |
Previous Message | Bossart, Nathan | 2021-11-29 22:13:02 | Re: improve CREATE EXTENSION error message |