Re: proposal: minscale, rtrim, btrim functions for numeric
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Karl O. Pinc" <kop@meme.com>
Cc: Pavel Stehule <pavel.stehule@gmail.com>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>,
Marko Tiikkaja <marko@joh.to>,
Dean Rasheed <dean.a.rasheed@gmail.com>,
Alvaro Herrera <alvherre@2ndquadrant.com>,
Robert Haas <robertmhaas@gmail.com>
Date: 2019-12-08T18:57:00Z
Lists: pgsql-hackers
"Karl O. Pinc" <kop@meme.com> writes: > FWIW, I bumped around the Internet and looked at Oracle docs to see if > there's any reason why minscale() might not be a good function name. > I couldn't find any problems. > I also couldn't think of a better name than trim_scale() and don't > have any problems with the name. I'd just comment that it seems weird that the same patch is introducing two functions with inconsistently chosen names. Why does one have an underscore separating the words and the other not? I haven't got a large investment in either naming convention specifically, but it'd be nice if we could at least pretend to be considering consistency. regards, tom lane
Commits
-
Add functions min_scale(numeric) and trim_scale(numeric).
- 20d6225d1656 13.0 landed