Josh Berkus <josh(at)agliodbs(dot)com> writes:
> summary: database has 291 empty pg_toast_temp schemas.
If your max_connections is 300 or more, this isn't surprising in the
least.
> ... so, apparently we still have an issue with cleaning up pg_toast_temp
> schema?
If they are empty, no we don't have a problem with cleaning them up.
The pg_namespace entries are deliberately left there across sessions,
to avoid useless catalog churn.
regards, tom lane