Re: feature request: pg_dump --view

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Neil Conway <neilc(at)samurai(dot)com>, Phil Frost <indigo(at)bitglue(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: feature request: pg_dump --view
Date: 2006-07-18 23:53:41
Message-ID: 44BD7485.9030409@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

elein wrote:
>> pg_dump -t <view_name> will work.
>>
>>
>
> Oh, you got me all worked up. I was reading this as a way to
> dump the CONTENTS of a view not the DEFINITION of a view.
> I thought someone sneaked in pg_dump of a query in there.
>
>

How would you load such a dump, since views are by default select-only?

cheers

andrew

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-07-19 00:11:44 Re: [COMMITTERS] pgsql: Done: o -Display IN, INOUT, and OUT parameters in \df
Previous Message elein 2006-07-18 23:46:41 Re: feature request: pg_dump --view