where <host-or-directory> is either a host name, an IP number, or a directory containing the Unix domain socket of a locally running PostgreSQL server. In the latter case, the directory must be percent-encoded, e.g.
pgx://jdoe@%2fvar%2frun%2fpostgresql
The interface provided by this module should normally not be used by applications, but provides access to some pgx specifics in case they are needed.