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. :)