CREATE EXTENSION forces an library initialization - is it bug?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: CREATE EXTENSION forces an library initialization - is it bug?
Date: 2023-09-29 18:10:10
Message-ID: CAFj8pRDoV-ndtu3j_Fh46SZysFbrjcJM7U-bP7bTBOmiy4fqtA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2023-09-29 18:14:24 Re: CREATE EXTENSION forces an library initialization - is it bug?
Previous Message Peter Geoghegan 2023-09-29 18:04:27 Re: [DOCS] HOT - correct claim about indexes not referencing old line pointers