From: Bruce Momjian <bruce@momjian.us>
To: edigitalb@gmail.com
To: pgsql-docs@lists.postgresql.org
Subject: Re: Wrong example
Date: Fri, 27 Apr 2018 09:31:05 -0400
Message-ID: <20180427133105.GA32454@momjian.us> (raw)
In-Reply-To: <152480490305.19807.16598844579387497315@wrigleys.postgresql.org>
References: <152480490305.19807.16598844579387497315@wrigleys.postgresql.org>
On Fri, Apr 27, 2018 at 04:55:03AM +0000, PG Doc comments form wrote:
> The following documentation comment has been logged on the website:
>
> Page: https://www.postgresql.org/docs/7.1/static/functions-math.html
> Description:
>
> The last row of table Table 4-4. Mathematical Functions seems to be wrong at
> example column, current value
>
> trunc(numeric, s integer) numeric truncate to s decimal
> places round(42.4382, 2) 42.43
>
> Possible solution
>
> trunc(numeric, s integer) numeric truncate to s decimal
> places trunc(42.4382, 2) 42.43
Uh, Postgres 7.1 is _decades_ old and will not be fixed. I suggest you
look at the Postgres 10 docs.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +
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: bruce@momjian.us, edigitalb@gmail.com, pgsql-docs@lists.postgresql.org
Subject: Re: Wrong example
In-Reply-To: <20180427133105.GA32454@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox