postgres.git / summary / log / commit / refs

commit    f9b09fe63cbc88319de7e15dbcc390775e31d56b
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Thu Aug 07 22:04:45 2025 +0000
First released in: 13.22, 14.19, 15.14, 16.10, 17.6, 18.0

    doc: add float as an alias for double precision.
    
    Although the "Floating-Point Types" section says that "float" data
    type is taken to mean "double precision", this information was not
    reflected in the data type table that lists all data type aliases.
    
    Reported-by: alexander.kjall@hafslund.no
    Author: Euler Taveira <euler@eulerto.com>
    Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
    Discussion: https://postgr.es/m/175456294638.800.12038559679827947313@wrigleys.postgresql.org
    Backpatch-through: 13


doc/src/sgml/datatype.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml index 6d069650ffc..e7cde733a32 100644 --- a/doc/src/sgml/datatype.sgml +++ b/doc/src/sgml/datatype.sgml @@ -117,7 +117,7 @@ <row> <entry><type>double precision</type></entry> - <entry><type>float8</type></entry> + <entry><type>float</type>, <type>float8</type></entry> <entry>double precision floating-point number (8 bytes)</entry> </row> [parent: 7f872ae7020e]