Kevin Stachowski <teachbiology(at)yahoo(dot)com> writes:
> 'ERROR: cache lookup for userid 100 failed
Looks like you have some object in the database that's marked as owned
by userid 100 --- and there isn't any user with userid 100 listed in
pg_shadow. (Re)-create the user with the right ID (CREATE USER foo
WITH SYSID 100 should do it).
regards, tom lane