Received: from smtp.ualg.pt (smtp.ualg.pt [193.136.224.8]) by postgresql.org (Postfix) with ESMTP id 75B7547586D for ; Thu, 21 Feb 2002 04:47:33 -0500 (EST) Received: from localhost (smtp.ualg.pt [127.0.0.1]) by smtp.ualg.pt (Postfix) with ESMTP id 41EE24BBFF; Thu, 21 Feb 2002 09:47:34 +0000 (WET) Received: from ualg.pt (corisco.uceh.ualg.pt [10.10.20.126]) by smtp.ualg.pt (Postfix) with ESMTP id 785954BBFC; Thu, 21 Feb 2002 09:47:33 +0000 (WET) Message-ID: <3C74C235.3060205@ualg.pt> Date: Thu, 21 Feb 2002 09:47:33 +0000 From: Luis Sousa User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011023 X-Accept-Language: en MIME-Version: 1.0 To: Manuel Trujillo Cc: pg-admin Subject: Re: moving tables and views References: <1014283878.800.25.camel@klingon> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20010714 X-Archive-Number: 200202/253 X-Sequence-Number: 3406 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