Use configured pgModule to access required ConenctionParameters

Implementation of #1454

Allows to use the `ConnectionParameters` of the configured `pgModule`.