Hi!
Postgres 12 database contains huge number of pg_temp and pg_toast_temp schemas named
pg_temp_1 .. pg_temp_126
and
pg_toast_temp_1 .. pg_toast_temp_126
There are total 2 * 126 = 252 unnessecary schemas in one database.
Those schemas seems not contain any objects.
Other databases in cluster similar schemas but in smaller amount.
How to delete them automatically and prevent appear in future?
Cluster stopped since disk decomes full and streaming async replication is used. Maybe one of those or some other
factorcreated or
continues to create those schemas. Postgres 12.2 in Debian 10 is used.
Andrus.