Re: BUG #17939: CREATE EXTENSION pltcl; looks in the wrong folder

Поиск
Список
Период
Сортировка
Искать
От
Julien Rouhaud
Тема
Re: BUG #17939: CREATE EXTENSION pltcl; looks in the wrong folder
Дата
в 07:04:19
Msg-id
20230523070419.3ztesptgw3m6ch77@jrouhaud
Ответ на
Список
Дерево обсуждения
BUG #17939: CREATE EXTENSION pltcl; looks in the wrong folder PG Bug reporting form <noreply@postgresql.org>
Re: BUG #17939: CREATE EXTENSION pltcl; looks in the wrong folder Julien Rouhaud <rjuju123@gmail.com>
On Tue, May 23, 2023 at 06:47:19AM +0000, PG Bug reporting form wrote:
>
> matthew@matthew-QEMU:~$ psql -d matthew -U matthew
> psql (15.2 (Ubuntu 15.2-1), server 14.7 (Ubuntu 14.7-0ubuntu0.22.10.1))
> [...]
> So when the version I have is definitely version 15.2 it looks for
> extensions in the folder for version 14.

The *client* version is definitely 15.2, but as psql told when you opened the
connection you're actually connected on a 14.7 *server*, so postgres is
searching in the correct folder.

You can look at e.g. pg_lsclusters to see what instances are currently setup,
and of which version.


В списке pgsql-bugs по дате отправления
От: Alexey Kachalin
Дата:
От: Alvaro Herrera
Дата:
FAQ