| От | Tom Lane |
|---|---|
| Тема | Re: ERROR: Class '37632' not found |
| Дата | |
| Msg-id | 21601.991233574@sss.pgh.pa.us обсуждение |
| Ответ на | ERROR: Class '37632' not found (DI Hasenöhrl <i.hasenoehrl@aon.at>) |
| Список | pgsql-sql |
DI Hasenöhrl <i.hasenoehrl@aon.at> writes:
> When I want to create a rule *r_name*, I get the message, that this rule st=
> ill exists and when I want to drop my rule *r_name*, I get the message: Cla=
> ss '37632' not found
Curious. That seems to indicate that the table the old rule is for has
been deleted ... but why is the rule still there? It should've been
deleted too.
What version of Postgres is this? Do you recall exactly what you did
with the old table?
You might be able to get back into a consistent state by manually
removing the rule entry (delete from pg_rewrite where rulename = 'foo')
but I'm hesitant to recommend that when we don't know how you got into
this state in the first place.
regards, tom lane
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера