Re: pretty print viewdefs

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andrew Dunstan <andrew(at)dunslane(dot)net>, Greg Stark <gsstark(at)mit(dot)edu>, decibel <decibel(at)decibel(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pretty print viewdefs
Date: 2010-02-23 05:52:24
Message-ID: 201002230552.o1N5qOh09681@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


What happened to this? I didn't see it applied.

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

Tom Lane wrote:
> Andrew Dunstan <andrew(at)dunslane(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Takahiro Itagaki 2010-02-23 06:09:14 Re: A thought on Index Organized Tables
Previous Message Takahiro Itagaki 2010-02-23 05:48:53 Re: tie user processes to postmaster