psql --html and to_char()

From: Ron Johnson <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: psql --html and to_char()
Date: 2025-08-27 15:27:51
Message-ID: CANzqJaAJVQVa0Wbx1fHv5n7zfp9ZyCXZMPqJF_JLTBo68ToNeA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

PG 17, if relevant.

It's great that "psql --html" adds align="right" to numeric fields. But...
psql understandably forgets that when the numeric field is passed to
to_char().

Is there a way around this, other than writing my own HTMLifier?

--
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dimitrios Apostolou 2025-08-27 16:10:58 Re: In-order pg_dump (or in-order COPY TO)
Previous Message Adrian Klaver 2025-08-27 15:25:15 Re: In-order pg_dump (or in-order COPY TO)