Re: Weird quirk with pg_dump of complex types

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Weird quirk with pg_dump of complex types
Дата
Msg-id 12520.1235713814@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Weird quirk with pg_dump of complex types  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Weird quirk with pg_dump of complex types
Список pgsql-bugs
Josh Berkus <josh@agliodbs.com> writes:
> When doing pg_dump in text mode, complext types will be dumped like this:

> CREATE TYPE complex_foo (
>     var    INT,
>     gar    TEXT,
>     natch    public.foo_type
> );

You didn't say which schema "complex_foo" is in?

> That is, a custom type in a complex type declaration is explicitly
> schema-qualified, even when the schema in question is in the default
> schema_path.

There is no such thing as a default search path for pg_dump's purposes.

            regards, tom lane

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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: Weird quirk with pg_dump of complex types
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: Weird quirk with pg_dump of complex types