git.iko.soy/typeable/postgresql-simple
on master help sign in
https *all* the things
commit234738c236e69d3136686c04da7e97f6b0fcaf66 authorLeon P Smith <leon@melding-monads.com> dateWed 25 May 2016, 21:04 (10 years ago) parentd7735cb
8 files changed+11−11
src/Database/PostgreSQL/Simple/Copy.hs+1−1 src/Database/PostgreSQL/Simple/Errors.hs+1−1 src/Database/PostgreSQL/Simple/HStore.hs+2−2 src/Database/PostgreSQL/Simple/LargeObjects.hs+1−1 src/Database/PostgreSQL/Simple/Notification.hs+2−2 src/Database/PostgreSQL/Simple/Time.hs+1−1 src/Database/PostgreSQL/Simple/Transaction.hs+2−2 src/Database/PostgreSQL/Simple/Types.hs+1−1
src/Database/PostgreSQL/Simple/Copy.hs+1−1
@@ -9,7 +9,7 @@
99-- Stability: experimental
1010--
1111-- 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
1313-- more information.
1414--
1515-- 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
124124------------------------------------------------------------------------
125125-- Error predicates
126126--
127−-- http://www.postgresql.org/docs/current/static/errcodes-appendix.html
127+-- https://www.postgresql.org/docs/9.5/static/errcodes-appendix.html
128128
129129isSerializationError :: SqlError -> Bool
130130isSerializationError = isSqlState "40001"
src/Database/PostgreSQL/Simple/HStore.hs+2−2
@@ -8,14 +8,14 @@
88--
99-- Parsers and printers for hstore, a extended type bundled with
1010-- 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
1212-- information.
1313--
1414-- Note that in order to use this type, a database superuser must
1515-- install it by running a sql script in the share directory. This
1616-- can be done on PostgreSQL 9.1 and later with the command
1717-- @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
1919-- information.
2020--
2121------------------------------------------------------------------------------
src/Database/PostgreSQL/Simple/LargeObjects.hs+1−1
@@ -7,7 +7,7 @@
77-- Maintainer : leon@melding-monads.com
88--
99-- 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
1111-- information.
1212--
1313-- Note that Large Object File Descriptors are only valid within a single
src/Database/PostgreSQL/Simple/Notification.hs+2−2
@@ -14,7 +14,7 @@
1414--
1515-- Support for receiving asynchronous notifications via PostgreSQL's
1616-- 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
1818-- information.
1919--
2020-- Note that on Windows, @getNotification@ currently uses a polling loop
@@ -25,7 +25,7 @@
2525-- Notifications do not create any extra work for the backend, and are
2626-- likely cheaper on the client side as well.
2727--
28−-- <http://hackage.haskell.org/trac/ghc/ticket/7353>
28+-- <https://hackage.haskell.org/trac/ghc/ticket/7353>
2929--
3030-----------------------------------------------------------------------------
3131
src/Database/PostgreSQL/Simple/Time.hs+1−1
@@ -11,7 +11,7 @@ infinity, as well as some functions for converting to and from strings.
1111Also, this module also contains commentary regarding postgresql's timestamp
1212types, civil timekeeping in general, and how it relates to
1313postgresql-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>,
1515and the IANA time zone database at <https://en.wikipedia.org/wiki/Tz_database>.
1616
1717Stack 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, (<>))
4545
4646-- | Of the four isolation levels defined by the SQL standard,
4747-- 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>
4949-- for more information. Note that prior to PostgreSQL 9.0, 'RepeatableRead'
5050-- was equivalent to 'Serializable'.
5151
@@ -203,7 +203,7 @@ beginMode mode conn = do
203203-- be used inside of a transaction, and provides a sort of
204204-- \"nested transaction\".
205205--
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>
207207withSavepoint :: Connection -> IO a -> IO a
208208withSavepoint conn body =
209209 mask $ \restore -> do
src/Database/PostgreSQL/Simple/Types.hs+1−1
@@ -268,7 +268,7 @@ newtype Savepoint = Savepoint Query
268268-- without issuing the query. In the second case, the postgres server
269269-- will return an error which will be turned into a @SqlError@ exception.
270270--
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
272272-- more information.
273273data Values a = Values [QualifiedIdentifier] [a]
274274 deriving (Eq, Ord, Show, Read, Typeable)