"Silvela, Jaime \(Exchange\)" <JSilvela@bear.com> writes:
> I get values frin the first statement but not from the second.
What values exactly ... particularly the OID?
> After setting indexscan to off, still the same thing.
> Should this setting be off in general?
Certainly not! That was just an experiment to see if your problem was
corruption of the indexes on pg_class. Seems like not.
regards, tom lane