Re: [HACKERS] VACUUM ANALYZE Problem

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vadim(at)sable(dot)krasnoyarsk(dot)su (Vadim B(dot) Mikheev)
Cc: jamesh(at)interpath(dot)com, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] VACUUM ANALYZE Problem
Date: 1998-02-03 19:26:13
Message-ID: 199802031926.OAA21735@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> James Hughes wrote:
> >
> > After poking arround some more, I found that the "vacuum analyze" is
> > causing problems with the "<" and ">" operators. The "> 0" in the SELECT
> > for "/d <table>" and "/dS" commands in psql cause the error.
> >
> > I verified that any simple query using the "<" or ">" operators fail
> > with the same message...
>
> Analyze uses oper("=",...), oper("<",...) and oper(">",...)...
> Are queries with "=" OK ?
>
> >
> > ERROR: fmgr_info: function 0: cache lookup failed
> >
> > ...after using the "vacuum analyse" command.
> > But, only after vacuuming any relation that was created and populated by
> > me. Vacumming system catalogs poses no problems.
>
> There are comments into vc_updstats:
>
> /*
> * invalidating system relations confuses the function cache of
> * pg_operator and pg_opclass
> */
> if (!IsSystemRelationName(pgcform->relname.data))
> RelationInvalidateHeapTuple(rd, rtup);
>
> ==> invalidation of user relation causes problems too, Bruce ?

So this is not a problem? right?

--
Bruce Momjian
maillist(at)candle(dot)pha(dot)pa(dot)us

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-02-03 19:26:40 Re: [HACKERS] subquery syntax broken
Previous Message Bruce Momjian 1998-02-03 19:25:56 Re: [HACKERS] VACUUM ANALYZE Problem