git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b9c130a) | patch
Add functions min_scale(numeric) and trim_scale(numeric).
Mon, 6 Jan 2020 17:13:53 +0000 (12:13 -0500)
Mon, 6 Jan 2020 17:13:53 +0000 (12:13 -0500)
commit 20d6225d1656102534a73d9675bc531ff0e5203b
Add functions min_scale(numeric) and trim_scale(numeric).

These allow better control of trailing zeroes in numeric values.

Pavel Stehule, based on an old proposal of Marko Tiikkaja's;
review by Karl Pinc

Discussion: https://postgr.es/m/CAFj8pRDjs-navGASeF0Wk74N36YGFJ+v=Ok9_knRa7vDc-qugg@mail.gmail.com
doc/src/sgml/func.sgml diff | blob | blame | history
src/backend/utils/adt/numeric.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_proc.dat diff | blob | blame | history
src/test/regress/expected/numeric.out diff | blob | blame | history
src/test/regress/sql/numeric.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /