Received: from dgesmtp01.wcom.com (dgesmtp01.wcom.com [199.249.16.16]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f91DQJ373277 for ; Mon, 1 Oct 2001 09:26:20 -0400 (EDT) (envelope-from s.chava@wcom.com) Received: from pmismtp01.wcomnet.com ([166.38.62.36]) by firewall.wcom.com (PMDF V5.2-33 #42260) with ESMTP id <0GKJ00CRN3ZJ5E@firewall.wcom.com> for pgsql-admin@postgresql.org; Mon, 1 Oct 2001 13:26:07 +0000 (GMT) Received: from pmismtp01.wcomnet.com by pmismtp01.wcomnet.com (PMDF V5.2-33 #42258) with SMTP id <0GKJ00B013ZC6N@pmismtp01.wcomnet.com>; Mon, 01 Oct 2001 13:26:07 +0000 (GMT) Received: from wcom.com ([159.98.137.234]) by pmismtp01.wcomnet.com (PMDF V5.2-33 #42258) with ESMTP id <0GKJ006NN3Z5VA@pmismtp01.wcomnet.com>; Mon, 01 Oct 2001 13:25:53 +0000 (GMT) Date: Mon, 01 Oct 2001 08:31:47 -0500 From: Srinivasa R Chava Subject: Re: moving database to production To: mark@vestnesis.lv Cc: pgsql-admin@postgresql.org Message-id: <3BB87043.B283D093@wcom.com> Organization: WORLDCOM [ http://www.worldcom.com/ ] MIME-version: 1.0 X-Mailer: Mozilla 4.76 [en] (Win98; U) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Accept-Language: en References: <3BB5F62A.29917.A3A0A@localhost> X-Archive-Number: 200110/4 X-Sequence-Number: 2252 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 ion pgsql. Thanks chava -- Srinivasa R Chava (Chava) Application Developer Corporate Intra/Internet Systems WORLDCOM - http://www.worldcom.com/ - NASDAQ:WCOM 500 Clinton Center Drive (Corporate Headquarters) Clinton, Mississippi (MS) USA 39056 (601)460-3122 / vnet4603122 / (800)844-1009 / FAX(601)460-8257