Re: 003_check_guc.pl crashes if some extensions were loaded.
Anton A. Melnikov <a.melnikov@postgrespro.ru>
From: "Anton A. Melnikov" <a.melnikov@postgrespro.ru>
To: Tom Lane <tgl@sss.pgh.pa.us>, Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-11-02T04:08:20Z
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@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
Commits
-
Fix 003_check_guc.pl when loading modules with custom GUCs
- 2001aab86099 15.5 landed
- e22819a74736 16.1 landed
- 40d5e5981cc0 17.0 landed