git.iko.soy/typeable/postgresql-simple
on master help sign in
https *all* the things
234738cLeon P Smith
src/Database/PostgreSQL/Simple/Copy.hs+1−1
@@ -9,7 +9,7 @@
9-- Stability: experimental
9-- Stability: experimental
10--
10--
11-- mid-level support for COPY IN and COPY OUT. See
11-- mid-level support for COPY IN and COPY OUT. See
12−-- <http://www.postgresql.org/docs/9.2/static/sql-copy.html> for
12+-- <https://www.postgresql.org/docs/9.5/static/sql-copy.html> for
13-- more information.
13-- more information.
14--
14--
15-- To use this binding, first call 'copy' with an appropriate
15-- To use this binding, first call 'copy' with an appropriate
src/Database/PostgreSQL/Simple/Errors.hs+1−1
@@ -124,7 +124,7 @@ parseMaybe p b = either (const Nothing) Just $ parseOnly p b
124------------------------------------------------------------------------
124------------------------------------------------------------------------
125-- Error predicates
125-- Error predicates
126--
126--
127−-- http://www.postgresql.org/docs/current/static/errcodes-appendix.html
127+-- https://www.postgresql.org/docs/9.5/static/errcodes-appendix.html
128
128
129isSerializationError :: SqlError -> Bool
129isSerializationError :: SqlError -> Bool
130isSerializationError = isSqlState "40001"
130isSerializationError = isSqlState "40001"
src/Database/PostgreSQL/Simple/HStore.hs+2−2
@@ -8,14 +8,14 @@
8--
8--
9-- Parsers and printers for hstore, a extended type bundled with
9-- Parsers and printers for hstore, a extended type bundled with
10-- PostgreSQL providing finite maps from text strings to text strings.
10-- PostgreSQL providing finite maps from text strings to text strings.
11−-- See <http://www.postgresql.org/docs/9.2/static/hstore.html> for more
11+-- See <https://www.postgresql.org/docs/9.5/static/hstore.html> for more
12-- information.
12-- information.
13--
13--
14-- Note that in order to use this type, a database superuser must
14-- Note that in order to use this type, a database superuser must
15-- install it by running a sql script in the share directory. This
15-- install it by running a sql script in the share directory. This
16-- can be done on PostgreSQL 9.1 and later with the command
16-- can be done on PostgreSQL 9.1 and later with the command
17-- @CREATE EXTENSION hstore@. See
17-- @CREATE EXTENSION hstore@. See
18−-- <http://www.postgresql.org/docs/9.2/static/contrib.html> for more
18+-- <https://www.postgresql.org/docs/9.5/static/contrib.html> for more
19-- information.
19-- information.
20--
20--
21------------------------------------------------------------------------------
21------------------------------------------------------------------------------
src/Database/PostgreSQL/Simple/LargeObjects.hs+1−1
@@ -7,7 +7,7 @@
7-- Maintainer : leon@melding-monads.com
7-- Maintainer : leon@melding-monads.com
8--
8--
9-- Support for PostgreSQL's Large Objects; see
9-- Support for PostgreSQL's Large Objects; see
10−-- <http://www.postgresql.org/docs/9.1/static/largeobjects.html> for more
10+-- <https://www.postgresql.org/docs/9.5/static/largeobjects.html> for more
11-- information.
11-- information.
12--
12--
13-- Note that Large Object File Descriptors are only valid within a single
13-- Note that Large Object File Descriptors are only valid within a single
src/Database/PostgreSQL/Simple/Notification.hs+2−2
@@ -14,7 +14,7 @@
14--
14--
15-- Support for receiving asynchronous notifications via PostgreSQL's
15-- Support for receiving asynchronous notifications via PostgreSQL's
16-- Listen/Notify mechanism. See
16-- Listen/Notify mechanism. See
17−-- <http://www.postgresql.org/docs/9.1/static/sql-notify.html> for more
17+-- <https://www.postgresql.org/docs/9.5/static/sql-notify.html> for more
18-- information.
18-- information.
19--
19--
20-- Note that on Windows, @getNotification@ currently uses a polling loop
20-- Note that on Windows, @getNotification@ currently uses a polling loop
@@ -25,7 +25,7 @@
25-- Notifications do not create any extra work for the backend, and are
25-- Notifications do not create any extra work for the backend, and are
26-- likely cheaper on the client side as well.
26-- likely cheaper on the client side as well.
27--
27--
28−-- <http://hackage.haskell.org/trac/ghc/ticket/7353>
28+-- <https://hackage.haskell.org/trac/ghc/ticket/7353>
29--
29--
30-----------------------------------------------------------------------------
30-----------------------------------------------------------------------------
31
31
src/Database/PostgreSQL/Simple/Time.hs+1−1
@@ -11,7 +11,7 @@ infinity, as well as some functions for converting to and from strings.
11Also, this module also contains commentary regarding postgresql's timestamp
11Also, this module also contains commentary regarding postgresql's timestamp
12types, civil timekeeping in general, and how it relates to
12types, civil timekeeping in general, and how it relates to
13postgresql-simple. You can read more about PostgreSQL's date and time types
13postgresql-simple. You can read more about PostgreSQL's date and time types
14−at <http://www.postgresql.org/docs/9.1/static/datatype-datetime.html>,
14+at <https://www.postgresql.org/docs/9.5/static/datatype-datetime.html>,
15and the IANA time zone database at <https://en.wikipedia.org/wiki/Tz_database>.
15and the IANA time zone database at <https://en.wikipedia.org/wiki/Tz_database>.
16
16
17Stack Overflow also has some excellent commentary on time, if it is a
17Stack Overflow also has some excellent commentary on time, if it is a
src/Database/PostgreSQL/Simple/Transaction.hs+2−2
@@ -45,7 +45,7 @@ import Database.PostgreSQL.Simple.Compat (mask, (<>))
45
45
46-- | Of the four isolation levels defined by the SQL standard,
46-- | Of the four isolation levels defined by the SQL standard,
47-- these are the three levels distinguished by PostgreSQL as of version 9.0.
47-- these are the three levels distinguished by PostgreSQL as of version 9.0.
48−-- See <http://www.postgresql.org/docs/9.1/static/transaction-iso.html>
48+-- See <https://www.postgresql.org/docs/9.5/static/transaction-iso.html>
49-- for more information. Note that prior to PostgreSQL 9.0, 'RepeatableRead'
49-- for more information. Note that prior to PostgreSQL 9.0, 'RepeatableRead'
50-- was equivalent to 'Serializable'.
50-- was equivalent to 'Serializable'.
51
51
@@ -203,7 +203,7 @@ beginMode mode conn = do
203-- be used inside of a transaction, and provides a sort of
203-- be used inside of a transaction, and provides a sort of
204-- \"nested transaction\".
204-- \"nested transaction\".
205--
205--
206−-- See <http://www.postgresql.org/docs/current/static/sql-savepoint.html>
206+-- See <https://www.postgresql.org/docs/9.5/static/sql-savepoint.html>
207withSavepoint :: Connection -> IO a -> IO a
207withSavepoint :: Connection -> IO a -> IO a
208withSavepoint conn body =
208withSavepoint conn body =
209 mask $ \restore -> do
209 mask $ \restore -> do
src/Database/PostgreSQL/Simple/Types.hs+1−1
@@ -268,7 +268,7 @@ newtype Savepoint = Savepoint Query
268-- without issuing the query. In the second case, the postgres server
268-- without issuing the query. In the second case, the postgres server
269-- will return an error which will be turned into a @SqlError@ exception.
269-- will return an error which will be turned into a @SqlError@ exception.
270--
270--
271−-- See <http://www.postgresql.org/docs/9.3/static/sql-values.html> for
271+-- See <https://www.postgresql.org/docs/9.5/static/sql-values.html> for
272-- more information.
272-- more information.
273data Values a = Values [QualifiedIdentifier] [a]
273data Values a = Values [QualifiedIdentifier] [a]
274 deriving (Eq, Ord, Show, Read, Typeable)
274 deriving (Eq, Ord, Show, Read, Typeable)