pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <jnasby@pervasive.com>
To: Randall Smith <randall@tnr.cc>
Cc: pgsql-admin@postgresql.org
Subject: Re: Backup/Restore Views
Date: Fri, 4 Nov 2005 13:45:13 -0600
Message-ID: <20051104194512.GT9989@pervasive.com> (raw)
In-Reply-To: <dkdlpb$nb9$1@sea.gmane.org>
References: <dkdlpb$nb9$1@sea.gmane.org>

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@pervasive.com
Pervasive Software      http://pervasive.com    work: 512-231-6117
vcard: http://jim.nasby.net/pervasive.vcf       cell: 512-569-9461



view thread (2+ messages)

Message-ID: <20051104194512.GT9989@pervasive.com>
Permalink:  ../20051104194512.GT9989@pervasive.com/
Also on:    postgresql.org/message-id/20051104194512.GT9989@pervasive.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jnasby@pervasive.com, randall@tnr.cc
  Subject: Re: Backup/Restore Views
  In-Reply-To: <20051104194512.GT9989@pervasive.com>
  References: <dkdlpb$nb9$1@sea.gmane.org> <20051104194512.GT9989@pervasive.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox