Open dakom opened 4 years ago
Should these not be added so that a connection string can be built using only named parameter keys?
More of a matter of it's not something we use and hasn't been requested (yet) so we haven't worked to expand the URI parser. Note that user
and password
can be set normally such as: postgres://user:password@host:port/database
.
The
PgConnectOptions
uri parser currently supports only 4 keys: "sslmode", "sslrootcert", "statement-cache-capacity", and "host"The Postgres connection uri spec notes that there are many more, for example
user
andpassword
Should these not be added so that a connection string can be built using only named parameter keys?