In the process of applying the pgsql pooling