From: Luis Sousa <llsousa@ualg.pt>
To: Manuel Trujillo <manueltrujillo@dorna.es>
Cc: pg-admin <pgsql-admin@postgresql.org>
Subject: Re: moving tables and views
Date: Thu, 21 Feb 2002 09:47:33 +0000
Message-ID: <3C74C235.3060205@ualg.pt> (raw)
References: <1014283878.800.25.camel@klingon>
Manuel Trujillo wrote:
>Hi.
>
>How can I move a view from a database X to database Y??
>And, when a copy one or two tables, from one database to another, whith
>pg_dump, and I'm not putting the "-o" option, why preserve the oid's if
>I don't want it?
>Thank you very much.
>
What I normally do is having a script, I recreate the view using that script
Luis Sousa
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: llsousa@ualg.pt, manueltrujillo@dorna.es
Subject: Re: moving tables and views
In-Reply-To: <3C74C235.3060205@ualg.pt>
References: <1014283878.800.25.camel@klingon> <3C74C235.3060205@ualg.pt>
* 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