pg_restore problem with type

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема pg_restore problem with type
Дата
Msg-id 4DA19298.8090802@compulab.co.il
обсуждение исходный текст
Список pgsql-general
I have a backup of a database from 8.2.x and I am trying to restore it
into 9.0.x


In 8.2.x I used the citext data type from pgfoundry (before it was part
of contrib) and it was put in the pg_catalog.

In 9.0 I am using the citext data type in contrib and it put it into the
public schema.


When I restore, using pgadmin, I get an error that citext type does not
exist for all schemas except public.

If I execute the DDL command by itself, it works.


It looks like the public schema is not in the search path during the
restore. Does this make any sense? How can I work around this?


Thanks

Sim


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: Handling bytea field in partition trigger function
Следующее
От: Arash pajoohande
Дата:
Сообщение: what data type to store fixed size integer?