Alvaro Herrera <alvhe...@2ndquadrant.com> writes: > On 2020-Mar-18, Michael Paquier wrote: >> On Mon, Mar 16, 2020 at 11:07:37AM +0900, Atsushi Torikoshi wrote: >>>> In this case, the parsing uses parse_real(), which is exactly the same >>>> code path as what real GUCs use.
> Hmm. So unadorned 'floating point' seems to refer to float8; you have > to use float(24) in order to get a float4. The other standards-mandated > name for float4 seems to be REAL. (I had a look around but was unable > to figure out whether the standard mandates exact bit widths other than > the precision spec). Since they're not doubles, what about we use REAL > rather than FLOATING POINT? Isn't this whole argument based on a false premise? What parse_real returns is double, not float. Also notice that config.sgml consistently documents those GUCs as <type>floating point</type>. (I recall having recently whacked some GUC descriptions that were randomly out of line with that.) regards, tom lane