CREATE EXTENSION forces an library initialization - is it bug? - Mailing list pgsql-hackers

From Pavel Stehule
Subject CREATE EXTENSION forces an library initialization - is it bug?
Date
Msg-id CAFj8pRDoV-ndtu3j_Fh46SZysFbrjcJM7U-bP7bTBOmiy4fqtA@mail.gmail.com
Whole thread Raw
Responses Re: CREATE EXTENSION forces an library initialization - is it bug?
List pgsql-hackers
Hi

I had to fix plpgsql_check issue https://github.com/okbob/plpgsql_check/issues/155

The problem is in execution of _PG_init() in CREATE EXTENSION time.

It is a problem for any extension that uses plpgsql debug API, because it is quietly activated.

Is it necessary?

Regards

Pavel

pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: [DOCS] HOT - correct claim about indexes not referencing old line pointers
Next
From: Tom Lane
Date:
Subject: Re: CREATE EXTENSION forces an library initialization - is it bug?