Re: IMPORT FOREIGN SCHEMA statement

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: IMPORT FOREIGN SCHEMA statement
Дата
Msg-id 20140527135227.GH2556@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: IMPORT FOREIGN SCHEMA statement  (David Fetter <david@fetter.org>)
Ответы Re: IMPORT FOREIGN SCHEMA statement
Список pgsql-hackers
* David Fetter (david@fetter.org) wrote:
> In the "easy" case of PostgreSQL, you might also be able to establish
> whether the UDT in the "already defined locally" case above is
> identical to the one defined remotely, but I don't think it's possible
> even in principle for non-PostgreSQL remote systems, possibly not even
> for ones with non-identical architecture, PostgreSQL major version,
> etc.

For my 2c, it'd be very handy if IMPORT had an option or similar to also
copy over all (in the schema) or at least any depended-upon UDTs.  It'd
really be nice if we had an ability to check the remote UDT vs. the
local one at some point also, since otherwise you're going to get bitten
at run-time when querying the foreign table.
Thanks,
    Stephen

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: IMPORT FOREIGN SCHEMA statement
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCH] Replacement for OSSP-UUID for Linux and BSD