pgsql: Doc: add example of round(v, s) with negative s.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: add example of round(v, s) with negative s.
Date: 2022-12-01 17:26:25
Message-ID: E1p0nKK-001ann-F3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7ec2bfe9e0315a296a70e0f716e6dbe3ecfcd530

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

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2022-12-01 20:01:12 pgsql: Fix memory leak for hashing with nondeterministic collations.
Previous Message Tom Lane 2022-12-01 17:10:31 pgsql: Doc: word-smith the discussion of secure schema usage patterns.