Re: Real config values for bytes needs quotes?

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Real config values for bytes needs quotes?
Дата
Msg-id 09c2b9cb-6f73-8e83-a84e-29a2925a9eed@enterprisedb.com
обсуждение исходный текст
Ответ на Real config values for bytes needs quotes?  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Ответы Re: Real config values for bytes needs quotes?  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
On 27.02.23 09:32, Kyotaro Horiguchi wrote:
> I found it frustrating that the line "shared_buffers = 0.1GB" in
> postgresql.conf postgresql.conf was causing an error and that the
> value required (additional) surrounding single quotes.  The attached
> patch makes the parser accept the use of non-quoted real values
> followed by a unit for such variables. I'm not sure if that syntax
> fully covers the input syntax of strtod, but I beieve it is suffucient
> for most use cases.

This seems sensible to fix.  If you're not sure about the details, write 
some test cases. :)



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

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: pg_upgrade and logical replication
Следующее
От: Daniel Gustafsson
Дата:
Сообщение: Re: Refactoring SysCacheGetAttr to know when attr cannot be NULL