If an extension library is loaded during pg_upgrade, can it tell?

Поиск
Список
Период
Сортировка
От Chapman Flack
Тема If an extension library is loaded during pg_upgrade, can it tell?
Дата
Msg-id 58E2FC9E.1090408@anastigmatix.net
обсуждение исходный текст
Список pgsql-hackers
Hi,

Is there any distinctive state that could be checked by extension code
to determine that it has been loaded incidentally during the operation
of pg_upgrade rather than under normal conditions?

PL/Java ordinarily checks what version of its schema is around, but
that may be premature while pg_upgrade is doing its thing and the schema
might not be all there yet.

-Chap



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

Предыдущее
От: Claudio Freire
Дата:
Сообщение: Re: Making clausesel.c Smarter
Следующее
От: Etsuro Fujita
Дата:
Сообщение: Re: postgres_fdw: evaluate placeholdervars on remote server