Re: Backup/Restore Views

From: "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>
To: Randall Smith <randall(at)tnr(dot)cc>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Backup/Restore Views
Date: 2005-11-04 19:45:13
Message-ID: 20051104194512.GT9989@pervasive.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Your best bet would be to query the system tables. Something like

SELECT definition FROM pg_views;

On Thu, Nov 03, 2005 at 12:43:47PM -0600, Randall Smith wrote:
> What is the most simple way to backup and restore only views?
>
> Randall
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Have you searched our list archives?
>
> http://archives.postgresql.org
>

--
Jim C. Nasby, Sr. Engineering Consultant jnasby(at)pervasive(dot)com
Pervasive Software http://pervasive.com work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bernd Rieke 2005-11-04 21:43:16 PITR recover ends unexpected
Previous Message Joost Kraaijeveld 2005-11-04 09:12:28 loggin of select statements