Re: ERROR: Class '37632' not found

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: DI Hasenöhrl <i(dot)hasenoehrl(at)aon(dot)at>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: ERROR: Class '37632' not found
Date: 2001-05-30 14:39:34
Message-ID: 21601.991233574@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

=?iso-8859-1?Q?DI_Hasen=F6hrl?= <i(dot)hasenoehrl(at)aon(dot)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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Mark 2001-05-30 14:57:08 Re: Case Insensitive Queries
Previous Message tjk@tksoft.com 2001-05-30 14:37:45 Re: Case Insensitive Queries