v1-0001-doc-Add-float-as-an-alias-to-double-precision.patch
text/x-patch
Filename: v1-0001-doc-Add-float-as-an-alias-to-double-precision.patch
Type: text/x-patch
Part: 0
Patch
Format: format-patch
Series: patch v1-0001
Subject: doc: Add float as an alias to double precision
| File | + | − |
|---|---|---|
| doc/src/sgml/datatype.sgml | 1 | 1 |
From dab483c89424075eef0f1b939334c02dbc0227a8 Mon Sep 17 00:00:00 2001
From: Euler Taveira <euler@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