Re: pretty print viewdefs

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pretty print viewdefs
Дата
Msg-id 20090826174035.GG5065@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: pretty print viewdefs  (Andreas Pflug <pgadmin@pse-consulting.de>)
Список pgsql-hackers
Andreas Pflug escribió:

> When initially implementing the pretty option, I ran into the same
> consideration. Back then, I decided not to try any line breaking on the
> column list. Instead, I treated the columns as "just a bunch of
> columns", laying the emphasis on the from-clause (with potentially many
> joined tables).
> So a pretty column formatting should still be white-space saving.

It would be neat to have a way of detecting the client terminal's width
(psql knows it; it'd have to pass it as an additional parameter) and
output as many columns as fit on each line.  This is a much more
invasive change though.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: 8.5 release timetable, again
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: 8.5 release timetable, again