PG Bug reporting form <noreply@postgresql.org> writes:
> gitlabhq_production=# \l
> ERROR: invalid input syntax for type integer: "
> "
> LINE 6: pg_catalog.array_to_string(d.datacl, E'\n') AS "Acces...
> ^
> gitlabhq_production=# \dt
> ERROR: cache lookup failed for type 705
This looks a bit like you've got corruption in the system catalogs.
You've not given any details about you got into this state, so
it's hard to offer any advice.
regards, tom lane