| От | Tom Lane |
|---|---|
| Тема | Re: ERROR: type "temp_gc" already exists |
| Дата | |
| Msg-id | 18660.1126368340@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | ERROR: type "temp_gc" already exists (Janning Vygen <vygen@gmx.de>) |
| Ответы |
Re: ERROR: type "temp_gc" already exists
|
| Список | pgsql-general |
Janning Vygen <vygen@gmx.de> writes:
> i guess the table was dropped but not the corresponding type.
> How can things like this happen?
Corrupted pg_depend table maybe? You might try REINDEXing pg_depend
to be on the safe side. Also please look to see if there are any
relevant entries in it (look for objid = the type's OID, or refobjid
= 16562879 which we can see was the table's OID).
> How can i fix it? Can i just drop the type from pg_type?
If there's no pg_depend entry then DROP TYPE should work. Otherwise
you might have to resort to manually DELETEing the pg_type row.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера