Column Headings using Comment?

Поиск
Список
Период
Сортировка
От tully
Тема Column Headings using Comment?
Дата
Msg-id v7gp30d3ltqfeedmb8qtp0vh0bp1mgjnl0@4ax.com
обсуждение исходный текст
Ответы Re: Column Headings using Comment?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-novice
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-novice по дате отправления:

Предыдущее
От: William Bradley
Дата:
Сообщение: su postgres password question.
Следующее
От: CoL
Дата:
Сообщение: Re: pg_dumpall and convert from LATIN1 to UTF-8?