Re: CREATE EXTENSION forces an library initialization - is it bug?

2023-09-29 Thread Pavel Stehule
pá 29. 9. 2023 v 20:14 odesílatel Tom Lane napsal: > Pavel Stehule writes: > > 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

Re: CREATE EXTENSION forces an library initialization - is it bug?

2023-09-29 Thread Tom Lane
Pavel Stehule writes: > 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

CREATE EXTENSION forces an library initialization - is it bug?

2023-09-29 Thread Pavel Stehule
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