fix for postgres module for default psql db