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

From: Chapman Flack <chap(at)anastigmatix(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: If an extension library is loaded during pg_upgrade, can it tell?
Date: 2017-04-04 01:53:34
Message-ID: 58E2FC9E.1090408@anastigmatix.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2017-04-04 02:00:26 Re: postgres_fdw: evaluate placeholdervars on remote server
Previous Message Claudio Freire 2017-04-04 01:35:28 Re: Making clausesel.c Smarter