Re: pg_dump --pretty-print-views

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Marko Tiikkaja <pgmail@joh.to>, Jeevan Chalke <jeevan.chalke@enterprisedb.com>, David Fetter <david@fetter.org>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2013-01-31T01:31:27Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> On 01/30/2013 11:03 AM, Tom Lane wrote:
>>>> FWIW, I'd vote for not enabling that by default --- it's basically an
>>>> unwarranted assumption about how wide people's terminal windows are.

> Well, we could actually set the wrap value to 0, which would mean always 
> wrap. That wouldn't be making any assumption about the user's terminal 
> window size ;-)

I could live with that.  I rather wonder actually if WRAP_COLUMN_DEFAULT
shouldn't be removed in favor of using 0 as the default.  80-column
windows may be our coding standard for Postgres, but that doesn't mean
they're not pretty passe elsewhere.

			regards, tom lane