Re: pg_dump --pretty-print-views

From: "Marko Tiikkaja" <pgmail(at)joh(dot)to>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, "Jeevan Chalke" <jeevan(dot)chalke(at)enterprisedb(dot)com>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David Fetter" <david(at)fetter(dot)org>, "PostgreSQL Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump --pretty-print-views
Date: 2013-01-27 12:53:10
Message-ID: op.wrkl2wenye4vw9@blue.lan
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, 18 Jan 2013 07:46:21 +0100, Jeevan Chalke
<jeevan(dot)chalke(at)enterprisedb(dot)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

Attachment Content-Type Size
prettyprint_v2.patch application/octet-stream 456.8 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Meskes 2013-01-27 12:54:02 Re: [PATCH]Fix for ecpglib's native language messages output
Previous Message Josh Berkus 2013-01-27 11:30:02 Re: Cascading replication: should we detect/prevent cycles?