Re: pretty print viewdefs

From: decibel <decibel(at)decibel(dot)org>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pretty print viewdefs
Date: 2009-08-26 18:11:50
Message-ID: 967ECBA1-1D3E-47C5-8A1D-6ECF9B8EB9D8@decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Aug 26, 2009, at 9:02 AM, Andrew Dunstan wrote:
> The tiny patch attached fixes a long-standing peeve of mine (and at
> least one of my clients'), namely that the target list printed in
> viewdefs are unreadable.
>
> example output now looks like this:
>
> regression=# select pg_get_viewdef('shoe',true);
> pg_get_viewdef
> -----------------------------------------------
> SELECT
> sh.shoename,
> sh.sh_avail,

Did we kill the idea of trying to retain the original view
definition? Granted, that doesn't really help for SELECT *...
--
Decibel!, aka Jim C. Nasby, Database Architect decibel(at)decibel(dot)org
Give your computer some brain candy! www.distributed.net Team #1828

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-08-26 18:26:30 Re: 8.5 release timetable, again
Previous Message Kevin Grittner 2009-08-26 17:57:40 Re: 8.5 release timetable, again