Re: 003_check_guc.pl crashes if some extensions were loaded. - Mailing list pgsql-hackers

From Anton A. Melnikov
Subject Re: 003_check_guc.pl crashes if some extensions were loaded.
Date
Msg-id 41dddabd-e671-41dc-8915-6ea709744955@postgrespro.ru
Whole thread Raw
In response to Re: 003_check_guc.pl crashes if some extensions were loaded.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 02.11.2023 01:53, Michael Paquier wrote:> On Thu, Nov 02, 2023 at 12:28:05AM +0300, Anton A. Melnikov wrote:
>> Found that src/test/modules/test_misc/t/003_check_guc.pl will crash if an extension
>> that adds own GUCs was loaded into memory.
>> So it is now impossible to run a check-world with loaded extension libraries.
> 
> Right.  That's annoying, so let's fix it.

Thanks!

On 02.11.2023 02:29, Tom Lane wrote:
> Michael Paquier <michael@paquier.xyz> writes:
>> Wouldn't it be better to add a qual as of "category <> 'Customized
>> Options'"?
> 
> +1, seems like a cleaner answer.

Also agreed. That is a better variant!


-- 
Anton A. Melnikov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Don't pass NULL pointer to strcmp().
Next
From: Alexander Lakhin
Date:
Subject: Re: [PATCH] Clarify the behavior of the system when approaching XID wraparound