From: Arnau <arnaulist@andromeiberica.com>
To: pgsql-admin@postgresql.org
Subject: Dumping views, functions, ...
Date: Mon, 02 Apr 2007 16:28:09 +0200
Message-ID: <461112F9.70101@andromeiberica.com> (raw)
Hi all,
Lets say that in my database I have a view named foo_view and I'd
like to dump it's definition. I'd like to do something like:
pg_dump --view=foo_view bar_db > foo_view.log
so I'd have in the foo_view.log file the foo_view's definition. This
same concept I'm searching to apply it to rules, functions, ...
I have been looking into pg_dump options and I haven't found the way.
The most similar thing I have found is -t option that does what I need
but with tables. Is it possible to do this with pg_dump?
Thanks
--
Arnau
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-admin@postgresql.org
Cc: arnaulist@andromeiberica.com
Subject: Re: Dumping views, functions, ...
In-Reply-To: <461112F9.70101@andromeiberica.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