ParentFull threadyobert·Some of this has already implemented in PostgreSQL 9.6! lpad / ltrim, for example.View on HN