Re: User function canceling VACUUMDB utility - Mailing list pgsql-general

From Tom Lane
Subject Re: User function canceling VACUUMDB utility
Date
Msg-id 11795.1284083169@sss.pgh.pa.us
Whole thread Raw
In response to User function canceling VACUUMDB utility  (Carlos Henrique Reimer <carlos.reimer@opendb.com.br>)
Responses Re: User function canceling VACUUMDB utility
List pgsql-general
Carlos Henrique Reimer <carlos.reimer@opendb.com.br> writes:
> We are facing the following problem in a PG 8.2 server when trying to vacuum
> one of our databases:
> vacuumdb: vacuuming of database "reimer" failed: ERROR:  invalid type name
> "TT_TIT.SEQCAN%TYPE"
> [ which seems to be coming from out-of-date code in a function ]

> If I drop the function the vacuumdb runs fine but I'm wondering how a
> funciton can cancel the vacuumdb utility.

Perhaps you have a functional index that calls that function?  If
so, ANALYZE would probably try to call the function too.

            regards, tom lane

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: How to inherit search_path from template
Next
From: Craig Ringer
Date:
Subject: Re: Empty SELECT result at simultaneous calls