Re: pretty print viewdefs - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pretty print viewdefs
Date
Msg-id 201002230552.o1N5qOh09681@momjian.us
Whole thread Raw
In response to Re: pretty print viewdefs  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pretty print viewdefs
List pgsql-hackers
What happened to this?  I didn't see it applied.

---------------------------------------------------------------------------

Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > OK, and how are we going to set that flag? Like I did, with a separate 
> > function?
> 
> I would be inclined to invent a variant of pg_get_viewdef with an
> additional parameter rather than choosing a new function name, but
> otherwise yeah.  Or we could decide this isn't worth all the
> trouble and just go back to your original patch.  By the time you
> get done with all the documentation and client-side hacking that
> would be required, this patch is going to be a lot larger than it
> seems worth.
> 
> > I assume you are in effect saying you don't mind if there is an 
> > occasional blank line in the output.
> 
> What blank line?  I would expect prettyprinting of expressions to
> sometimes insert an embedded newline, but not one at the beginning
> or end.  Do you have a counterexample?
> 
>             regards, tom lane
> 
> -- 
> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.comPG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do + If your life is a hard
drive,Christ can be your backup. +
 


pgsql-hackers by date:

Previous
From: Takahiro Itagaki
Date:
Subject: Re: tie user processes to postmaster
Next
From: Takahiro Itagaki
Date:
Subject: Re: A thought on Index Organized Tables