Re: FAQ -- 'cache lookup failed' still a puzzle

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: will trillich <will(at)serensoft(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: FAQ -- 'cache lookup failed' still a puzzle
Date: 2002-03-13 18:35:55
Message-ID: 20020313103106.I84314-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


> the rule that intercepts 'insert' works like a charm -- and the
> primary difference is that the 'update' rule (above) calls
> stage_change() where the create rule doesn't need to -- so i
> thought that might be the culprit:
>
> db> select stage_change(0,1,1);
> stage_change
> --------------
> 0
> (1 row)
>
> so it's not. or at least it's got *me* convinced, anyhow.

Well, it's not going to be referenced by name any more, it'll be
referenced by oid which is changed when you drop and create
it again. You'd need to drop and create the rule again as well.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jesus Arocho 2002-03-13 18:36:20 Pgsql site
Previous Message Stephan Szabo 2002-03-13 18:28:15 Re: Query planner problem