GUC parameters accepts values in both octal and hexadecimal formats

Поиск
Список
Период
Сортировка
От Haribabu Kommi
Тема GUC parameters accepts values in both octal and hexadecimal formats
Дата
Msg-id CAJrrPGc6LJ=Wjh=7cwdVJ05oBOrNBO+QrMvWOuuy=_psJxgJnA@mail.gmail.com
обсуждение исходный текст
Ответы Re: GUC parameters accepts values in both octal and hexadecimalformats  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Hi Hackers,

The Server GUC parameters accepts values in both Octal and hexadecimal formats also.

postgres=# set max_parallel_workers_per_gather='0x10';
postgres=# show max_parallel_workers_per_gather;
 max_parallel_workers_per_gather 
---------------------------------
 16

postgres=# set max_parallel_workers_per_gather='010';
postgres=# show max_parallel_workers_per_gather;
 max_parallel_workers_per_gather 
---------------------------------
 8

I can check that this behavior exists for quite some time, but I am not able to find any documentation related to it? Can some one point me to relevant section where it is available? If not exists, is it fine to add it?

Regards,
Haribabu Kommi
Fujitsu Australia

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: [Sender Address Forgery]Re: error message when subscriptiontarget is a partitioned table
Следующее
От: Tom Lane
Дата:
Сообщение: OpenBSD versus semaphores