pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Emi Lu <emilu@encs.concordia.ca>
To: pgsql-sql@postgresql.org
Subject: How to dump views definition in one schema?
Date: Thu, 14 May 2009 10:37:41 -0400
Message-ID: <4A0C2CB5.6060707@encs.concordia.ca> (raw)

Good morning,

Can pg_dump or other command could dump all views definition in one schema.

I was trying to alter column types for several tables, and I have very 
complicated view dependencies.

What I try to do is:
(1). Back all views def
(2). alter columns
(3). re-create views from (1)

I'd like to know how to dump all views in one schema?

Thanks,

--
Lu Ying



Message-ID: <4A0C2CB5.6060707@encs.concordia.ca>
Permalink:  ../4A0C2CB5.6060707@encs.concordia.ca/
Also on:    postgresql.org/message-id/4A0C2CB5.6060707@encs.concordia.ca

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: emilu@encs.concordia.ca
  Subject: Re: How to dump views definition in one schema?
  In-Reply-To: <4A0C2CB5.6060707@encs.concordia.ca>

* 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