Re: improve CREATE EXTENSION error message

From: "Bossart, Nathan" <bossartn(at)amazon(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Chapman Flack <chap(at)anastigmatix(dot)net>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Daniel Gustafsson <daniel(at)yesql(dot)se>
Subject: Re: improve CREATE EXTENSION error message
Date: 2022-01-11 19:28:42
Message-ID: D4CD4EC5-845C-492E-9B65-87E255DAD54A@amazon.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 1/11/22, 11:23 AM, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Bossart, Nathan" <bossartn(at)amazon(dot)com> writes:
>> 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 such file or directory.
>> HINT: The extension must first be installed on the system where PostgreSQL is running.
>
> Nobody complained about that wording, so pushed.

Thanks!

Nathan

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Pryzby 2022-01-11 20:03:07 Re: pg_upgrade should truncate/remove its logs before running
Previous Message Tom Lane 2022-01-11 19:22:38 Re: improve CREATE EXTENSION error message