agora inbox for pgsql-docs@postgresql.org
help / color / mirror / Atom feedFrom: Euler Taveira <euler@eulerto.com>
To: alexander.kjall@hafslund.no
To: pgsql-docs@lists.postgresql.org
Subject: Re: add alias FLOAT for double precision
Date: Thu, 07 Aug 2025 10:57:04 -0300
Message-ID: <a651595d-c8ad-433e-9371-314c3abec723@app.fastmail.com> (raw)
In-Reply-To: <175456294638.800.12038559679827947313@wrigleys.postgresql.org>
References: <175456294638.800.12038559679827947313@wrigleys.postgresql.org>
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/
Attachments:
[text/x-patch] v1-0001-doc-Add-float-as-an-alias-to-double-precision.patch (968B, ../a651595d-c8ad-433e-9371-314c3abec723@app.fastmail.com/2-v1-0001-doc-Add-float-as-an-alias-to-double-precision.patch)
download | inline diff:
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
view thread (3+ messages) latest in thread
Message-ID: <a651595d-c8ad-433e-9371-314c3abec723@app.fastmail.com>
Permalink: ../a651595d-c8ad-433e-9371-314c3abec723@app.fastmail.com/
Also on: postgresql.org/message-id/a651595d-c8ad-433e-9371-314c3abec723@app.fastmail.com
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-docs@postgresql.org
Cc: euler@eulerto.com, alexander.kjall@hafslund.no, pgsql-docs@lists.postgresql.org
Subject: Re: add alias FLOAT for double precision
In-Reply-To: <a651595d-c8ad-433e-9371-314c3abec723@app.fastmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox