docs: mention the PGPASSFILE environment variable
commit19522693d3304f89803fde404df6c4926de0de5d
authorChris Martin <ch.martin@gmail.com>
dateWed 1 Nov 2017, 18:47 (9 years ago)
parent6361568
src/Database/PostgreSQL/Simple/Internal.hs+2−1
@@ -188,7 +188,8 @@ connect = connectPostgreSQL . postgreSQLConnectionString
188188--
189189-- Omitting @password@ will default to an appropriate password found
190190-- 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
192193-- <https://www.postgresql.org/docs/9.5/static/libpq-pgpass.html> for
193194-- more information regarding this file.
194195--