Completed implementation of Jobs for postgres.
Add max connection count for postgres.