naming of async_mode parameter

Поиск
Список
Период
Сортировка
От Zhihong Yu
Тема naming of async_mode parameter
Дата
Msg-id CALNJ-vRM3vH24hv1i8R8h6+ocOib04wBYGycuuy_Jjo2j6S4CA@mail.gmail.com
обсуждение исходный текст
Ответы Re: naming of async_mode parameter
Список pgsql-hackers
Hi, Etsuro-san:
I was looking at
  Fix EXPLAIN ANALYZE for async-capable nodes.

which adds the following parameter / field:

+   bool        async_mode;     /* true if node is in async mode */

async_mode implies an enum: {sync, async}
Since there are only two values, the data type is bool. I think it should be named is_async.

What do you think?

Cheers

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PG 14 release notes, first draft
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PG 14 release notes, first draft