Re: improve CREATE EXTENSION error message
Nathan Bossart <bossartn@amazon.com>
From: "Bossart, Nathan" <bossartn@amazon.com>
To: Chapman Flack <chap@anastigmatix.net>, Daniel Gustafsson <daniel@yesql.se>, Tom Lane <tgl@sss.pgh.pa.us>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2021-11-29T21:47:09Z
Lists: pgsql-hackers
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. Nathan
Commits
-
Improve error message for missing extension.
- 6f6943fc94ad 15.0 landed