Re: pg_dump output containing CREATE TYPE does not restore with psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_dump output containing CREATE TYPE does not restore with psql
Дата
Msg-id 3409.1158765139@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_dump output containing CREATE TYPE does not restore with psql  ("Harry Hehl" <Harry.Hehl@diskstream.com>)
Ответы Re: pg_dump output containing CREATE TYPE does not restore with psql  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
"Harry Hehl" <Harry.Hehl@diskstream.com> writes:
> The restore fails with:

> psql:x:384: ERROR:  foreign key constraint "accepttaskevent" cannot be
> implemented
> DETAIL:  Key columns "accepttaskevent" and "objectid" are of
> incompatible types: public.ds_uuid and public.ds_uuid.

This seems to be a variant of the problem discussed here:
http://archives.postgresql.org/pgsql-hackers/2006-02/msg00284.php

I thought we had fixed it in 8.1.3, but apparently there's another
problem behind that one :-(.  Your best short-term answer may be to
create the uuid type and its operators in the pg_catalog schema.

            regards, tom lane

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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Initializing Datums for use with SPI_execute_plan
Следующее
От: "Jack Orenstein"
Дата:
Сообщение: Problems converting between C string and Datum