Re: pg_dump --pretty-print-views

Marko Tiikkaja <pgmail@joh.to>

From: "Marko Tiikkaja" <pgmail@joh.to>
To: "Andrew Dunstan" <andrew@dunslane.net>, "Jeevan Chalke" <jeevan.chalke@enterprisedb.com>
Cc: "Tom Lane" <tgl@sss.pgh.pa.us>, "David Fetter" <david@fetter.org>, "PostgreSQL Hackers" <pgsql-hackers@postgresql.org>
Date: 2013-01-27T12:53:10Z
Lists: pgsql-hackers

Attachments

On Fri, 18 Jan 2013 07:46:21 +0100, Jeevan Chalke  
<jeevan.chalke@enterprisedb.com> wrote:
> Nice idea.
>
> Marko, just hack ruleutils some thing like this:

Here's a patch attempting to do just that.

The actual code changes were trivial, the patch is mostly just regression  
tests.

As for the docs, I wasn't entirely happy with what they say about  
pg_get_viewdef(), but it didn't look like they needed to be changed by  
this either.


Regards,
Marko Tiikkaja