Column headings using Comment? - Mailing list pgsql-general

From news@msn.com
Subject Column headings using Comment?
Date
Msg-id h8tl301ukj76lgc9smvpqilrsukunfklsb@4ax.com
Whole thread Raw
List pgsql-general
Is there an option for psql to use the entry in Comments for "pretty"
column headings in a report?  For example, instead of printing the
column name of "last" in the heading, the option would print "Last
Name" that is contained in the Comments field.

The only two alternatives I've found so far is to use "SELECT AS" or
to mangle the "\d+" output from psql with awk, which are both
cumbersome solutions, especially when a "select *" is possible.

Can anyone help?

--tully


pgsql-general by date:

Previous
From: Birzan George Cristian
Date:
Subject: phpBB 2.2 and PostgreSQL support
Next
From: Henrik Farre
Date:
Subject: Re: pg_dumpall dies