Make psql print number values right-aligned with locale group separator?

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Make psql print number values right-aligned with locale group separator?
Date: 2016-10-03 22:15:58
Message-ID: CAKFQuwbbuAptWJ5HTVbrqX2+chk-pG6oR22KX3hUuAzVCMg06Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Take this as either a request for a pointer to how to accomplish $subject
or a feature request.

psql nicely prints number values right-aligned - but otherwise applies only
a single decimal separator.

Using to_char() to get the proper formatting is annoying and has downsides
as well (mixing presentation and logic and keeping the header length
aligned).

Am I overlooking a feature here or is just not something anyone has been
annoyed enough to do anything about?

Thanks!

David J.

Browse pgsql-general by date

  From Date Subject
Next Message devangn 2016-10-04 06:33:03 postgresql service is working but showing status failed
Previous Message David G. Johnston 2016-10-03 21:36:50 Re: isnull() function in pgAdmin3