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. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers