Alex Pilosov <alex@pilosoft.com> writes:
> users=# \d tv2
> ERROR: cache lookup of attribute 0 in relation 21747 failed
Confirmed here. Too tired to chase it further tonight, though.
> HOWEVER, 'select * from tv2' succeeds (sometimes). Sometimes it fails with
> the same error (cache lookup failed).
Couldn't reproduce this failure --- can you work out a sequence that
makes it happen?
regards, tom lane