Re: pg_dump failed - Mailing list pgsql-admin

From Gaetano Mendola
Subject Re: pg_dump failed
Date
Msg-id 017301c1f5e9$98128460$d5a9fea9@GMENDOLA2
Whole thread Raw
In response to Re: pg_dump failed  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-admin
"Stephan Szabo" <sszabo@megazone23.bigpanda.com> wrote:
> On Tue, 7 May 2002, Gaetano Mendola wrote:
>
> > Hi all,
> > performing a pg_dump I obtain this error
> >
> > $ pg_dump empdb > dacan.sql
> > getTables(): SELECT (for VIEW DEFINITION) failed.  Explanation from
backend:
> > ERROR:  cache lookup for proc 117968 failed
> >
> >
> > Anyone have an idea ?
>
> Is it possible that you've got a view referencing a deleted function?
> Turning on query logging and seeing what it was trying to do immediately
> before the message is probably advisable.

I did,
may be is a good idea put on that message which view is wrong, or anyway
skip the view with just a warning message.

Ciao
Gaetano


pgsql-admin by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: pg_dump failed
Next
From: Pam Wampler
Date:
Subject: Upgrade from 7.2 -> 7.2.1