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

From Tom Lane
Subject Re: pg_dump --pretty-print-views
Date
Msg-id 8821.1357839300@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg_dump --pretty-print-views  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pg_dump --pretty-print-views
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> 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.

What I was actually thinking about was turning on indent/linewrapping
all the time (ie, no change on pg_dump's side, just hack ruleutils).
If we believe it's safe, why not just do it?  It's the paren-removal
that pg_dump can't tolerate.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pg_dump --pretty-print-views
Next
From: Andrew Dunstan
Date:
Subject: Re: pg_dump --pretty-print-views