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