pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: reiner peterke <zedaardv@drizzle.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: 9.5 Import foreign schema error with user defined type in schema other than public.
Date: Tue, 09 Jun 2015 09:48:40 -0400
Message-ID: <29891.1433857720@sss.pgh.pa.us> (raw)
In-Reply-To: <46A815E3-DE1A-4A70-AAED-F395C24DE19C@drizzle.com>
References: <46A815E3-DE1A-4A70-AAED-F395C24DE19C@drizzle.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

reiner peterke <zedaardv@drizzle.com> writes:
> 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 don't see any reason to think this isn't operating as designed.
postgres_fdw does not attempt to import user-defined data types from the
remote server.  Per the manual:

	If the remote tables to be imported have columns of user-defined
	data types, the local server must have compatible types of the
	same names.

("Same names" includes the schema name, btw.)

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)  latest in thread

Message-ID: <29891.1433857720@sss.pgh.pa.us>
Permalink:  ../29891.1433857720@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/29891.1433857720@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, zedaardv@drizzle.com
  Subject: Re: 9.5 Import foreign schema error with user defined type in schema other than public.
  In-Reply-To: <29891.1433857720@sss.pgh.pa.us>
  References: <46A815E3-DE1A-4A70-AAED-F395C24DE19C@drizzle.com> <29891.1433857720@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox