pgsql: Doc: add example of round(v, s) with negative s. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: add example of round(v, s) with negative s.
Date
Msg-id E1p0nKK-001ank-EY@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Doc: add example of round(v, s) with negative s.

This has always worked, but you'd be unlikely to guess it
from the documentation.  Add an example showing it.

Lack of docs noted by David Johnston.  Back-patch to v13;
the documentation layout we used before that was not very
amenable to squeezing in multiple examples.

Discussion: https://postgr.es/m/CAKFQuwZ4Vy1Xty0G5Ok+ot=NDrU3C6hzF1JwUk-FEkwe3V9_RA@mail.gmail.com

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e10799aa252c2232a3d4f73f4875532423f3f7b4

Modified Files
--------------
doc/src/sgml/func.sgml | 4 ++++
1 file changed, 4 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: word-smith the discussion of secure schema usage patterns.
Next
From: Jeff Davis
Date:
Subject: pgsql: Fix memory leak for hashing with nondeterministic collations.