Is there a way to configure PostgreSQL server instance to limit resources, e.g. work_mem or max_parallel_workers, by databases or schema? (or even limit a specific user)
To my knowledge, parameters from postgresql.conf affect the entire postmaster instance.
Background of this question is multi-tenancy based on DB schema and resource isolation.