doc: add float as an alias for double precision.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Aug 2025 22:04:45 +0000 (18:04 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 7 Aug 2025 22:05:20 +0000 (18:05 -0400)
commitf9b09fe63cbc88319de7e15dbcc390775e31d56b
tree1b6329636e89c31dd0dce40add30adece77d4b56
parent7f872ae7020e6772ea7a6355c8d3c3be648016a2
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