Re: Can we do something to help stop users mistakenly using force_parallel_mode?

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: Can we do something to help stop users mistakenly using force_parallel_mode?
Дата
Msg-id CAApHDvoyEiVTmpm74sbhaENJJpdYKxUDrpXTNj90NHp32vSi1Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Can we do something to help stop users mistakenly using force_parallel_mode?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Can we do something to help stop users mistakenly using force_parallel_mode?
Список pgsql-hackers
On Thu, 9 Feb 2023 at 11:26, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> David Rowley <dgrowleyml@gmail.com> writes:
> > I've attached a patch which does the renaming to debug_parallel_query.
> > I've made it so the old name can still be used.
>
> There's a better way to do that last, which is to add the translation to
> map_old_guc_names[].  I am not very sure what happens if you have multiple
> GUC entries pointing at the same underlying variable, but I bet that
> it isn't great.

Thanks for pointing that out. That might mean we can keep the
translation long-term as it won't appear in pg_settings and \dconfig,
or we might want to remove it if we want to be more deliberate about
breaking things for users who are misusing it. We maybe could just
consider that if/when all buildfarm animals are all using the new
name.

Attached updated patch.

David

Вложения

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

Предыдущее
От: Justin Pryzby
Дата:
Сообщение: Re: Progress report of CREATE INDEX for nested partitioned tables
Следующее
От: Nathan Bossart
Дата:
Сообщение: Re: Improve logging when using Huge Pages