Re: BUG #18964: `ALTER DATABASE ... RESET ...` fails to reset extension parameters that no longer exist

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: BUG #18964: `ALTER DATABASE ... RESET ...` fails to reset extension parameters that no longer exist
Дата
Msg-id aIJfucaqjZ3gh-xj@nathan
обсуждение исходный текст
Ответ на Re: BUG #18964: `ALTER DATABASE ... RESET ...` fails to reset extension parameters that no longer exist  (Laurenz Albe <laurenz.albe@cybertec.at>)
Ответы Re: BUG #18964: `ALTER DATABASE ... RESET ...` fails to reset extension parameters that no longer exist
Список pgsql-bugs
On Tue, Jul 22, 2025 at 04:27:24AM +0200, Laurenz Albe wrote:
> I tested your patch, and it works as expected for

Thanks for reviewing.

> There is still one piece missing in my opinion:
> 
>   ALTER SYSTEM RESET testext.swap_limit;
>   ERROR:  invalid configuration parameter name "testext.swap_limit"
>   DETAIL:  "testext" is a reserved prefix.
> 
> I think that this case should work like the others.

Good catch.  This should be fixed in v3.

> I'd like to see regression tests for this, but I am not sure how
> to best devise them.
> One idea would be to stick them into the regression tests of some
> contrib module, even though it is not the perfect place.

Added in v3.

-- 
nathan

Вложения

В списке pgsql-bugs по дате отправления: