Re: 003_check_guc.pl crashes if some extensions were loaded.

From: "Anton A(dot) Melnikov" <a(dot)melnikov(at)postgrespro(dot)ru>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Michael Paquier <michael(at)paquier(dot)xyz>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: 003_check_guc.pl crashes if some extensions were loaded.
Date: 2023-11-02 04:08:20
Message-ID: 41dddabd-e671-41dc-8915-6ea709744955@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)paquier(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Lakhin 2023-11-02 05:00:00 Re: [PATCH] Clarify the behavior of the system when approaching XID wraparound
Previous Message Nathan Bossart 2023-11-02 03:45:57 Re: Don't pass NULL pointer to strcmp().