In Shapefile class, applies Postgres connection parameters (host, port, etc.) for all commands.