Re: Bug with view definitions? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Bug with view definitions?
Date
Msg-id 28531.1088701785@sss.pgh.pa.us
Whole thread Raw
In response to Re: Bug with view definitions?  (Dennis Bjorklund <db@zigo.dhs.org>)
List pgsql-hackers
Dennis Bjorklund <db@zigo.dhs.org> writes:
> The view itself works, so it must be the pretty 
> printer that is broken (where ever that is hidden away in the code).

Yeah, I think this is due to overenthusiastic removal of parentheses.
I believe if you pg_dump the view you will get a correctly parenthesized
version, because pg_dump does not trust the pretty printer (for reasons
that should now be obvious...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Adding column comment to information_schema.columns
Next
From: Dennis Bjorklund
Date:
Subject: Re: Adding column comment to information_schema.columns