Re: 9.5 Import foreign schema error with user defined type in schema other than public.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: reiner peterke <zedaardv(at)drizzle(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: 9.5 Import foreign schema error with user defined type in schema other than public.
Date: 2015-06-09 13:48:40
Message-ID: 29891.1433857720@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

reiner peterke <zedaardv(at)drizzle(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2015-06-09 13:50:02 Re: BUG #13420: Array function contains with null
Previous Message krzysztof.czajka 2015-06-09 11:29:46 BUG #13420: Array function contains with null