Real config values for bytes needs quotes? - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Real config values for bytes needs quotes?
Date
Msg-id 20230227.173217.1502628246346909920.horikyota.ntt@gmail.com
Whole thread Raw
Responses Re: Real config values for bytes needs quotes?
List pgsql-hackers
Hello.

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.

Is the following a correct English sentense?

Do you folks think this makes sense?


regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: [PATCH] Support SK_SEARCHNULL / SK_SEARCHNOTNULL for heap-only scans
Next
From: Peter Eisentraut
Date:
Subject: Re: Add support for unit "B" to pg_size_pretty()