git.iko.soy/typeable/postgresql-simple
on master help sign in
Merge pull request #90 from jhrcek/jhrcek/fix-typos

Fix typos

commitf74cf19a8e3880be950676d7a1a4509b4e594fa7 authorOleg Grenrus <oleg.grenrus@iki.fi> dateSat 23 Apr 2022, 12:59 (4 years ago) parent5fdd8cedbb7089
4 files changed+7−7
CHANGES.md+4−4 src/Database/PostgreSQL/Simple.hs+1−1 src/Database/PostgreSQL/Simple/Copy.hs+1−1 src/Database/PostgreSQL/Simple/Errors.hs+1−1
CHANGES.md+4−4
@@ -253,7 +253,7 @@
253253 support UTF8 except for Mule Internal Code, the Multilingual
254254 Extensions for Emacs. An exception should be raised upon
255255 connecting to a database by the backend if the backend cannot
256− accomodate this requirement.
256+ accommodate this requirement.
257257
258258 * Added `Eq` and `Typeable` instances for `Connection`.
259259
@@ -391,7 +391,7 @@
391391
392392 * Changed the Identifier and QualifiedIdentifier to use Text in
393393 order to avoid encoding errors. Technically this requires a
394− major verson bump, but let's pretend 0.4.1.0 didn't happen.
394+ major version bump, but let's pretend 0.4.1.0 didn't happen.
395395
396396 * Removed non-exhaustive cases in the ToField instance for Values,
397397 and tweaked error messages.
@@ -551,7 +551,7 @@
551551
552552 * Added a brand new TypeInfo system that gives FromField instances
553553 convenient and efficient access to the pg_type metatable. This
554− replaced the older typename cache, and was neccesary to properly
554+ replaced the older typename cache, and was necessary to properly
555555 support postgres array types. Thanks to Bas van Dijk for his
556556 work on this feature.
557557
@@ -643,7 +643,7 @@
643643 now the preferred way of dealing with `timestamp` (without time zone).
644644
645645 * `Database.PostgreSQL.Simple.Time` is a new module that offers types
646− that accomodate PostgreSQL's infinities.
646+ that accommodate PostgreSQL's infinities.
647647
648648 * All time-related `FromField`/`ToField` instances are now based on new,
649649 higher-speed parsers and printers instead of those provided by the
src/Database/PostgreSQL/Simple.hs+1−1
@@ -900,7 +900,7 @@ forEachWith_ parser conn template = foldWith_ parser conn template () . const
900900-- all values of the given PostgreSQL type is considered \"compatible\".
901901-- For instance, you can always extract a PostgreSQL 16-bit @SMALLINT@
902902-- column to a Haskell 'Int'. The Haskell 'Float' type can accurately
903−-- represent a @SMALLINT@, so it is considered compatble with those types.
903+-- represent a @SMALLINT@, so it is considered compatible with those types.
904904--
905905-- * A numeric compatibility check is based only on the type of a
906906-- column, /not/ on its values. For instance, a PostgreSQL 64-bit
src/Database/PostgreSQL/Simple/Copy.hs+1−1
@@ -55,7 +55,7 @@ import Database.PostgreSQL.Simple.Internal hiding (result, row)
5555-- | Issue a @COPY FROM STDIN@ or @COPY TO STDOUT@ query. In the former
5656-- case, the connection's state will change to @CopyIn@; in the latter,
5757-- @CopyOut@. The connection must be in the ready state in order
58−-- to call this function. Performs parameter subsitution.
58+-- to call this function. Performs parameter substitution.
5959
6060copy :: ( ToRow params ) => Connection -> Query -> params -> IO ()
6161copy conn template qs = do
src/Database/PostgreSQL/Simple/Errors.hs+1−1
@@ -64,7 +64,7 @@ instance Exception ConstraintViolation
6464
6565
6666-- | Tries to convert 'SqlError' to 'ConstrainViolation', checks sqlState and
67−-- succeedes only if able to parse sqlErrorMsg.
67+-- succeeds only if able to parse sqlErrorMsg.
6868--
6969-- > createUser = handleJust constraintViolation handler $ execute conn ...
7070-- > where