summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2025-08-07 18:04:45 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2025-08-07 18:05:01 -0400
commit13244ba1032573bf1a220aa4b8fb0ff395f7815a (patch)
tree98a47bf52d8fecda51d5aac3f3cb5d107aa78e5b
parent45e7ad980e3fac26e642dc49097751d23072d520 (diff)
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
-rw-r--r--doc/src/sgml/datatype.sgml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/datatype.sgml b/doc/src/sgml/datatype.sgml
index cd82c1c17e0..621a1d90319 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>