=?iso-8859-2?Q?Marek_P=EAtlicki?= <marpet(at)buy(dot)pl> writes:
> I receive this error when trying to pg_dump -s
> failed sanity check, table answers was not found
I suspect you have a table whose owner no longer exists in pg_shadow.
Check the pg_class.relowner value for that table, and create a user
with the matching usesysid.
regards, tom lane