Re: BUG #15282: Materialized view with transitive TYPE dependency fails refresh using pg_restore and psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #15282: Materialized view with transitive TYPE dependency fails refresh using pg_restore and psql
Дата
Msg-id 11850.1531927071@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #15282: Materialized view with transitive TYPE dependencyfails refresh using pg_restore and psql  (Keith Hickey <kwhickey@gmail.com>)
Ответы Re: BUG #15282: Materialized view with transitive TYPE dependencyfails refresh using pg_restore and psql  (Keith Hickey <kwhickey@gmail.com>)
Список pgsql-bugs
Keith Hickey <kwhickey@gmail.com> writes:
> Ok, that worked. Such a simple change.
> i.e. in the function definition, changed the return statement from
> return result::customer_tier;
> to
> return result::public.customer_tier;

Check.

> However --
> When running the restore as user "root", with the default search path
> (which was the case): "$user", public

pg_restore doesn't use the default search path anymore.

            regards, tom lane


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

Предыдущее
От: Keith Hickey
Дата:
Сообщение: Re: BUG #15282: Materialized view with transitive TYPE dependencyfails refresh using pg_restore and psql
Следующее
От: Keith Hickey
Дата:
Сообщение: Re: BUG #15282: Materialized view with transitive TYPE dependencyfails refresh using pg_restore and psql