git.iko.soy/typeable/postgresql-simple
on master help sign in
Mention environment variables in documentation of connectPostgreSQL
commitb004e3df550d11d80286b0eb42f9a3d9e5c4ff0a authorLeon P Smith <leon@melding-monads.com> dateMon 30 Nov 2015, 08:44 (11 years ago) parent0f3ca19
1 file changed+5−2
src/Database/PostgreSQL/Simple/Internal.hs+5−2
src/Database/PostgreSQL/Simple/Internal.hs+5−2
@@ -155,8 +155,11 @@ connect = connectPostgreSQL . postgreSQLConnectionString
155155
156156-- | Attempt to make a connection based on a libpq connection string.
157157-- See <http://www.postgresql.org/docs/9.3/static/libpq-connect.html#LIBPQ-CONNSTRING>
158−-- for more information. Here is an example with some
159−-- of the most commonly used parameters:
158+-- for more information. Also note that environment variables also affect
159+-- parameters not provided, parameters provided as the empty string, and a
160+-- few other things; see <http://www.postgresql.org/docs/9.3/static/libpq-envars.html>
161+-- for details. Here is an example with some of the most commonly used
162+-- parameters:
160163--
161164-- > host='db.somedomain.com' port=5432 ...
162165--