Skip to content

Commit 04b7ff3

Browse files
committed
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
1 parent d699687 commit 04b7ff3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/src/sgml/datatype.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@
117117

118118
<row>
119119
<entry><type>double precision</type></entry>
120-
<entry><type>float8</type></entry>
120+
<entry><type>float</type>, <type>float8</type></entry>
121121
<entry>double precision floating-point number (8 bytes)</entry>
122122
</row>
123123

0 commit comments

Comments
 (0)