Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f91H4L362404 for ; Mon, 1 Oct 2001 13:04:21 -0400 (EDT) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id f91GscT77832 for pgsql-admin@postgresql.org; Mon, 1 Oct 2001 12:54:38 -0400 (EDT) (envelope-from news) From: s.chava@wcom.com (Srinivasa Rao Chava) X-Newsgroups: comp.databases.postgresql.admin Subject: Re: moving database to production Date: 1 Oct 2001 09:54:37 -0700 Organization: http://groups.google.com/ Lines: 33 Message-ID: <66d229f1.0110010854.7516a0e9@posting.google.com> References: <3BB5F62A.29917.A3A0A@localhost> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-admin@postgresql.org X-Archive-Number: 200110/7 X-Sequence-Number: 2255 Thanks for your response. But I want to move the database objects owned by a particualr user. say there are 20 tables,and other database objects like functions, procedures etc owned by two different users. I want to move the database objects( tables, and other objects like procedures, sequences) owned by a particular user to production. If I use pg_dump with -t option, I can move the tables. But what about the other objects like sequences and procedures owned by a particualar user. In oracle, we can use export and import with owner=user name option to move the complete schema owned by a particualr user. How to do it in pgsql. Thanks chava > > Hi, > > How to move the database from devleopment to production. > > For example, the database is already in production and some of the > > tables required modifications. First those modification were > > implemented in develoment. The modified tables need to be moved to > > production from development,not the complete database. So how to move > > the selective tables in development database to production database. > > Thanks chava > > pg_dump -t |psql > > Mark > > > > ---------------------------(end of broadcast)--------------------------- > TIP 6: Have you searched our list archives? > > http://archives.postgresql.org