Re: pg_dump --pretty-print-views - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: pg_dump --pretty-print-views
Date
Msg-id 50EEFADB.9090809@dunslane.net
Whole thread Raw
In response to Re: pg_dump --pretty-print-views  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg_dump --pretty-print-views
List pgsql-hackers
On 01/10/2013 12:09 PM, Tom Lane wrote:


> Now, we could consider changing the "safe" mode so that it tries to
> provide nice whitespace/line breaks while not risking removal of
> parentheses.  But that would be a totally different patch, and I'm
> not sure how much it would address Marko's desires anyway.


I think there's a very good case for breaking the nexus between 
PRETTYFLAG_PAREN and PRETTYFLAG_INDENT+line wrapping for views. Only 
PRETTYFLAG_PAREN affects the safety issue. The others are just about 
white space in safe places.

cheers

andrew





pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: proposal: Set effective_cache_size to greater of .conf value, shared_buffers
Next
From: Tom Lane
Date:
Subject: Re: pg_dump --pretty-print-views