X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 322BB11F666B for ; Thu, 30 Mar 2006 18:07:25 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 28451-06 for ; Thu, 30 Mar 2006 18:07:24 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from noel.decibel.org (noel.decibel.org [67.100.216.10]) by postgresql.org (Postfix) with ESMTP id D644911F6669 for ; Thu, 30 Mar 2006 18:07:22 -0400 (AST) Received: from [172.16.5.98] (64-132-13-2.gen.twtelecom.net [64.132.13.2]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by noel.decibel.org (Postfix) with ESMTP id 4C4D756423; Thu, 30 Mar 2006 16:07:22 -0600 (CST) In-Reply-To: <6992E470F12A444BB787B5C937B9D4DF03D36FBA@ca-mail1.cis.local> References: <6992E470F12A444BB787B5C937B9D4DF03D36FBA@ca-mail1.cis.local> Mime-Version: 1.0 (Apple Message framework v746.3) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Message-Id: <2A713B97-3455-4171-A2E6-C3FAC2D2BA47@pervasive.com> Cc: Content-Transfer-Encoding: quoted-printable From: Jim Nasby Subject: Re: export of schema only Date: Thu, 30 Mar 2006 16:07:19 -0600 To: Sriram Dandapani X-Mailer: Apple Mail (2.746.3) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200603/392 X-Sequence-Number: 21149 Can you provide exact error messages here? You're not giving us a lot =20= of detail to go on... On Mar 30, 2006, at 11:30 AM, Sriram Dandapani wrote: > Hi > > > > This is the scenario: > > > > Export schema only > On a different postgres box, drop the existing database, recreate =20 > the database and run psql with the exported schema file. > One of the views did not import. I get an error saying relation =20 > does not exist > I recreate the view and then I get an error relation not available /=20= > 30142/14567=85etc which looks like a system error > > > The database into which I import is on a different tablespace which =20= > is not in the default data directory > > -- Jim C. Nasby, Sr. Engineering Consultant jnasby@pervasive.com Pervasive Software http://pervasive.com work: 512-231-6117 vcard: http://jim.nasby.net/pervasive.vcf cell: 512-569-9461