Re: Issue with installing postgres extension

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Issue with installing postgres extension
Дата
Msg-id 1639899.1719445384@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Issue with installing postgres extension  (bhavani dba <dbabhavani@gmail.com>)
Ответы Re: Issue with installing postgres extension
Список pgsql-general
bhavani dba <dbabhavani@gmail.com> writes:
> postgres=# CREATE EXTENSION pg_stat_statements;
> ERROR:  could not load library
> "/home/postgres/bin/pgsql/15/lib/pg_stat_statements.so":
> /home/postgres/bin/pgsql/15/lib/pg_stat_statements.so: undefined symbol:
> InitMaterializedSRF

This certainly looks like you are trying to load a v15 extension
into a pre-v15 server (since the InitMaterializedSRF function
didn't exist in prior versions).

I'm going to go out on a limb and guess that you just installed
v15 and forgot to restart the server, so that what's running is
still v14 or before.  If so, you probably also forgot the
pg_upgrade step --- you can't simply start a new major version
in an old one's data directory.

            regards, tom lane



В списке pgsql-general по дате отправления:

Предыдущее
От: bhavani dba
Дата:
Сообщение: Issue with installing postgres extension
Следующее
От: bhavani dba
Дата:
Сообщение: Re: Issue with installing postgres extension