git.iko.soy/typeable/postgresql-simple
on master help sign in
docs: mention the PGPASSFILE environment variable
1952269Chris Martin
src/Database/PostgreSQL/Simple/Internal.hs+2−1
@@ -188,7 +188,8 @@ connect = connectPostgreSQL . postgreSQLConnectionString
188--
188--
189-- Omitting @password@ will default to an appropriate password found
189-- Omitting @password@ will default to an appropriate password found
190-- in the @pgpass@ file, or no password at all if a matching line is
190-- in the @pgpass@ file, or no password at all if a matching line is
191−-- not found. See
191+-- not found. The path of the @pgpass@ file may be specified by setting
192+-- the @PGPASSFILE@ environment variable. See
192-- <https://www.postgresql.org/docs/9.5/static/libpq-pgpass.html> for
193-- <https://www.postgresql.org/docs/9.5/static/libpq-pgpass.html> for
193-- more information regarding this file.
194-- more information regarding this file.
194--
195--