pg_dump not including custom CAST?

Поиск
Список
Период
Сортировка
От D. Dante Lorenso
Тема pg_dump not including custom CAST?
Дата
Msg-id 473E4412.2010105@lorenso.com
обсуждение исходный текст
Ответы Re: pg_dump not including custom CAST?
Список pgsql-general
All,

I did this in my database:

   CREATE CAST (VARCHAR AS BYTEA) WITHOUT FUNCTION;

But when I use pg_dump to dump the database and use pg_restore to bring
it back on a freshly created database, the CAST is the only part of the
restore which is missing.

I'm using PostgreSQL 8.2.4 for both the dump and restore database.  Why
doesn't the CAST dump and restore?

-- Dante

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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: Primary Key
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: Qeury a boolean column?(using postgresql & EJB)