Skip site navigation (1) Skip section navigation (2)

Re: pg_dump --pretty-print-views

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: David Fetter <david(at)fetter(dot)org>
Cc: Marko Tiikkaja <pgmail(at)joh(dot)to>,PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump --pretty-print-views
Date: 2013-01-10 14:21:42
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
* David Fetter (david(at)fetter(dot)org) wrote:
> On Thu, Jan 10, 2013 at 01:23:10PM +0100, Marko Tiikkaja wrote:
> > Any feedback is welcome.
> Why not make this the new default?  That way, new users will have the
> benefit, and people with tools or processes that depend on the old
> behavior can still have it.

I tend to agree with this, I've never really liked having the view def
all on one massive line.

Well, I'll caveat that with this- being able to grep -C2 and pull the
views and the view definitions has been nice on occation, but you can
pull independent objects out with pg_restore from a -Fc dump and, in
general, I think the advantage of having the view definition look
reasonable in the dump is more than being able to do tricks on views
(but not tables, etc anyway..) with grep.



In response to

pgsql-hackers by date

Next:From: Andrew DunstanDate: 2013-01-10 14:22:46
Subject: Re: pg_dump --pretty-print-views
Previous:From: Stephen FrostDate: 2013-01-10 13:59:14
Subject: Re: Index build temp files

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group