Will PostgreSQL switch from multi-process to multi-threaded architecture?
postgresql.org
postgresql.org
There is a statement_max_duration which is a great start, but if I want anything from postgres it's an ability to say "allocate X cpu/memory per thread and let it do as much as it can within those limits"
In my experience, if you have a very busy database, running a big query doesn't even show up on the load metrics, so it probably doesn't matter unless your database isn't very busy or it's nearly exceeded some capacity threshold.