Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Z2lIH-000867-G1 for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2015 19:04:09 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Z2lIG-0001Si-9p for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2015 19:04:08 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Z2lIF-0001Sc-OL for pgsql-bugs@postgresql.org; Wed, 10 Jun 2015 19:04:07 +0000 Received: from 173-164-140-181-sfba.hfc.comcastbusiness.net ([173.164.140.181] helo=fetter.org) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1Z2lI8-0000pP-GH for pgsql-bugs@postgresql.org; Wed, 10 Jun 2015 19:04:07 +0000 Received: by fetter.org (Postfix, from userid 500) id 031C560438; Wed, 10 Jun 2015 12:03:53 -0700 (PDT) Date: Wed, 10 Jun 2015 12:03:52 -0700 From: David Fetter To: reiner peterke Cc: pgsql-bugs@postgresql.org Subject: Re: 9.5 Import foreign schema error with user defined type in schema other than public. Message-ID: <20150610190352.GA30879@fetter.org> References: <46A815E3-DE1A-4A70-AAED-F395C24DE19C@drizzle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46A815E3-DE1A-4A70-AAED-F395C24DE19C@drizzle.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -0.9 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Tue, Jun 09, 2015 at 10:56:26AM +0200, reiner peterke wrote: > Hi, > > I was testing the import foreign schema feature in 9.5. i have a > schema with a defined type timerange. When i tried to import the > the foreign schema i got the following error. I ran into this with PostGIS, and what I did to solve it is install PostGIS on the local node. Perhaps starting with importing your dba schema, or recursively down to whichever one is "root" in the sense of the dependency graph could help. Cheers, David. -- David Fetter http://fetter.org/ Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter Skype: davidfetter XMPP: david.fetter@gmail.com Remember to vote! Consider donating to Postgres: http://www.postgresql.org/about/donate -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs