On Thu, Aug 7, 2025, at 7:35 AM, PG Doc comments form wrote:
> In table 8.1 (
> https://www.postgresql.org/docs/current/datatype.html#DATATYPE-TABLE ) the
> FLOAT alias isn't listed, I think it would make sense to include beside
> FLOAT8.

Makes sense.


-- 
Euler Taveira
EDB   https://www.enterprisedb.com/
From dab483c89424075eef0f1b939334c02dbc0227a8 Mon Sep 17 00:00:00 2001
From: Euler Taveira <eu...@eulerto.com>
Date: Thu, 7 Aug 2025 10:48:41 -0300
Subject: [PATCH v1] doc: Add float as an alias to double precision

Although "Floating-Point Types" section says that "float" data type is
taken to mean "double precision", this information is not reflected into
the data type table that lists all data type aliases.
---
 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 0994e089311..7458f216e50 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>
 
-- 
2.39.5

Reply via email to