Re: Peter Eisentraut 2017-08-14 <b1dc5f08-47dc-8a43-3147-372bba169fc3(at)2ndquadrant(dot)com>> There are probably a bunch of Perl or Python modules that can be> employed for this.
https://github.com/ChristophBerg/postgresql-numeral
Christoph