pgsql: Reduce the number of dynamically created threads. This patch pushes most of the dynamically created threads into the running local_backend. It specifically does not push the gotdatarowdesc one to avoid deadlocks.