git.iko.soy/typeable/postgresql-simple
on master help sign in
Fixed minor grammatical mistakes in documentation
commitbd3968e1a894e98344530fef2081996e4cdeeb02 authorLeon P Smith <leon@melding-monads.com> dateMon 16 Jun 2014, 12:28 (12 years ago) parent990bfbb
1 file changed+4−4
src/Database/PostgreSQL/Simple/Internal.hs+4−4
src/Database/PostgreSQL/Simple/Internal.hs+4−4
@@ -143,8 +143,8 @@ connect = connectPostgreSQL . postgreSQLConnectionString
143143--
144144-- On systems that provide unix domain sockets, omitting the host parameter
145145-- will cause libpq to attempt to connect via unix domain sockets.
146−-- The default path to the socket is constructed from the port number
147−-- and the @DEFAULT_PGSOCKET_DIR@ constant defined in the
146+-- The default filesystem path to the socket is constructed from the
147+-- port number and the @DEFAULT_PGSOCKET_DIR@ constant defined in the
148148-- @pg_config_manual.h@ header file. Connecting via unix sockets tends
149149-- to use the @peer@ authentication method, which is very secure and
150150-- does not require a password.
@@ -154,7 +154,7 @@ connect = connectPostgreSQL . postgreSQLConnectionString
154154--
155155-- > ... dbname='postgres' user='postgres' password='secret \' \\ pw'
156156--
157−-- This attempts to connect to database named @postgres@ with
157+-- This attempts to connect to a database named @postgres@ with
158158-- user @postgres@ and password @secret \' \\ pw@. Backslash
159159-- characters will have to be double-quoted in literal Haskell strings,
160160-- of course. Omitting @dbname@ and @user@ will both default to the
@@ -176,7 +176,7 @@ connect = connectPostgreSQL . postgreSQLConnectionString
176176-- granted to the user on the database.
177177--
178178-- On Windows, in addition you will either need @pg_hba.conf@
179−-- to specify the use the @trust@ authentication method for the
179+-- to specify the use of the @trust@ authentication method for
180180-- the connection, which may not be appropriate for multiuser
181181-- or production machines, or you will need to use a @pgpass@ file
182182-- with the @password@ or @md5@ authentication methods.