Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id DA98B9FB2E8 for ; Fri, 28 Sep 2007 07:19:37 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 15809-04 for ; Fri, 28 Sep 2007 07:19:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from pih-relay05.plus.net (pih-relay05.plus.net [212.159.14.132]) by postgresql.org (Postfix) with ESMTP id CF5369FA634 for ; Fri, 28 Sep 2007 07:19:33 -0300 (ADT) Received: from [84.51.143.99] (helo=server3.office.archonet.com) by pih-relay05.plus.net with esmtp (Exim) id 1IbCwQ-0001HU-MB; Fri, 28 Sep 2007 11:19:26 +0100 Received: from [192.168.1.36] (dell36.office.archonet.com [192.168.1.36]) by server3.office.archonet.com (Postfix) with ESMTP id 347C9274060; Fri, 28 Sep 2007 11:19:26 +0100 (BST) Message-ID: <46FCD52E.5080604@archonet.com> Date: Fri, 28 Sep 2007 11:19:26 +0100 From: Richard Huxton User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: "Penchalaiah P." CC: pgsql-sql@postgresql.org Subject: Re: to restore database in schema References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/158 X-Sequence-Number: 29371 Penchalaiah P. wrote: > Hi ... > > Under one database who's name is postgres ,its contains 2 schema's Probably not a good idea to use the "postgres" database for casual usage. Any reason why you're not using a new database? > 1)cdao1 > 2)cdao2. OK > I want to restore one database into schema 2.(cdao2)...here there is no > option to restore... You want to restore what database? A database can contain multiple schemas, so I'm not sure how you'd restore a DB "into" a schema? Are you trying to copy schema cdao1 into cdao2? -- Richard Huxton Archonet Ltd