Re: improve CREATE EXTENSION error message - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: improve CREATE EXTENSION error message
Date
Msg-id 6EB9E47A-1329-4734-B489-2F0EDEB4824A@yesql.se
Whole thread Raw
In response to Re: improve CREATE EXTENSION error message  ("Bossart, Nathan" <bossartn@amazon.com>)
Responses Re: improve CREATE EXTENSION error message
List pgsql-hackers
> On 29 Nov 2021, at 22:47, Bossart, Nathan <bossartn@amazon.com> wrote:
>
> On 11/29/21, 1:38 PM, "Chapman Flack" <chap@anastigmatix.net> wrote:
>> On 11/29/21 16:31, Daniel Gustafsson wrote:
>>> That's a good point, the hint is targeting users who might not even know that
>>> an extension needs to be physically and separately installed on the machine
>>> before it can be installed in their database; so maybe using "installed" here
>>> isn't entirely helpful at all.  That being said I'm at a loss for a more
>>> suitable word, "available" perhaps?
>>
>> Maybe a larger break with the "This means the extension something something"
>> formulation, and more on the lines of
>>
>> HINT:  an extension must first be present (for example, installed with a
>> package manager) on the system where PostgreSQL is running.
>
> I like this idea.  I can do it this way in the next revision if others
> agree.

I think taking it in this direction has merits.

--
Daniel Gustafsson        https://vmware.com/




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Lots of memory allocated when reassigning Large Objects
Next
From: Guillaume Lelarge
Date:
Subject: Re: Lots of memory allocated when reassigning Large Objects