"Juris Krumins" <juriskr(at)komin(dot)lv> writes:
> Always it's ok, so it's execute without any problems. But sometimes I get
> error like this :
> Warning: pg_exec()[function.pg-exec]:Query failed:ERROR: cache lookup of
> relation 149064743 failed.
Hmm, that seems bad. Is the given relation number always the same? Is
there a row with that OID in pg_class? (Try "select * from pg_class
where oid = 149064743".)
What PG version is this?
regards, tom lane