Re: pretty print viewdefs - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: pretty print viewdefs
Date
Msg-id 4A954A1E.1070601@dunslane.net
Whole thread Raw
In response to Re: pretty print viewdefs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pretty print viewdefs  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>   
>> The tiny patch attached fixes a long-standing peeve of mine (and at 
>> least one of my clients'), namely that the target list printed in 
>> viewdefs are unreadable.
>>     
>
> Personally I think this will take up enough vertical space to make
> things less readable on-screen, not more so.  But that's just MHO.
> It probably depends a lot on the sorts of views you tend to look at...
>
>             
>   

Well, I could work out if the bit that will be added to the line will 
run it over some limit (like 80 chars) and only put in the line break 
then, but it would involve a lot more code.

When you're dealing with a view that has 40 or 50 fields, having them 
all run together over a dozen or two lines is just horrible.

cheers

andrew


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: 8.5 release timetable, again
Next
From: Jean-Michel Pouré
Date:
Subject: Re: PostgreSQL does CAST implicitely between int and a domain derive from int during SELECT query