Permalink
Commits on Mar 26, 2013
  1. Bump version

    committed Mar 26, 2013
  2. Fix haddocks in FromField module

    committed Mar 26, 2013
Commits on Mar 25, 2013
  1. Remove unused import

    committed Mar 25, 2013
  2. Fix syntax error in Array test

    committed Mar 25, 2013
Commits on Mar 16, 2013
  1. Add ocharles to contributors

    committed Mar 16, 2013
Commits on Mar 8, 2013
Commits on Feb 26, 2013
  1. Use Timestamp aliases for error reporting

    Broken by commit 0636c4a
    committed Feb 26, 2013
Commits on Feb 25, 2013
Commits on Jan 30, 2013
Commits on Jan 29, 2013
Commits on Jan 28, 2013
  1. Tweak documentation

    committed Jan 28, 2013
  2. Stop pre-calculating typeinfos

    committed Jan 28, 2013
  3. Add Conversion monad

    committed Jan 28, 2013
  4. Major reorganization

    committed Jan 28, 2013
Commits on Jan 27, 2013
  1. Refactor conversion function

    This gets rid of an (incorrect) warning message, eliminates some
    dead code in the generated code,  and keeps things under 80 characters
    committed Jan 27, 2013
  2. Remove an unused import

    committed Jan 27, 2013
  3. Stop using quasiquotes in Simple.hs

    For some reason this was causing haddock to fail.   This may be a bug
    in cabal-install or ghci and is worth further investigation at some point.
    For example
    
    $ cabal haddock
    Running Haddock for postgresql-simple-0.3.0.0...
    Warning: The documentation for the following packages are not installed. No
    links will be generated to these packages: rts-1.0
    Preprocessing library postgresql-simple-0.3.0.0...
    Haddock coverage:
       2% (  1 / 49) in 'Database.PostgreSQL.Simple.TypeInfo'
       8% (  4 / 50) in 'Database.PostgreSQL.Simple.Time.Implementation'
       9% (  1 / 11) in 'Database.PostgreSQL.Simple.Time.Internal'
       4% (  1 / 26) in 'Database.PostgreSQL.Simple.Time'
      80% (  8 / 10) in 'Database.PostgreSQL.Simple.Arrays'
     100% (  2 /  2) in 'Database.PostgreSQL.Simple.SqlQQ'
      88% (  7 /  8) in 'Database.PostgreSQL.Simple.Types'
     100% (  4 /  4) in 'Database.PostgreSQL.Simple.ToField'
     100% (  2 /  2) in 'Database.PostgreSQL.Simple.ToRow'
      67% (  2 /  3) in 'Database.PostgreSQL.Simple.Ok'
    
    dist/build/tmp-15448/src/Database/PostgreSQL/Simple/Internal.hs:44:1:
        Warning: The import of `System.IO.Unsafe' is redundant
                   except perhaps to import instances from `System.IO.Unsafe'
                 To import instances alone, use: import System.IO.Unsafe()
      38% (  9 / 24) in 'Database.PostgreSQL.Simple.Internal'
      22% (  4 / 18) in 'Database.PostgreSQL.Simple.LargeObjects'
      75% (  3 /  4) in 'Database.PostgreSQL.Simple.Notification'
      80% (  4 /  5) in 'Database.PostgreSQL.Simple.Errors'
     100% (  3 /  3) in 'Database.PostgreSQL.Simple.Compat'
      17% (  1 /  6) in 'Database.PostgreSQL.Simple.BuiltinTypes'
      79% ( 11 / 14) in 'Database.PostgreSQL.Simple.FromField'
      33% (  2 /  6) in 'Database.PostgreSQL.Simple.FromRow'
    
    ByteCodeLink.lookupCE
    During interactive linking, GHCi couldn't find the following symbol:
      postgresqlzmsimplezm0zi3zi0zi0_DatabaseziPostgreSQLziSimpleziSqlQQ_sql_closure
    This may be due to you not asking GHCi to load extra object files,
    archives or DLLs needed by your current session.  Restart GHCi, specifying
    the missing library using the -L/path/to/object/dir and -lmissinglibname
    flags, or simply by naming the relevant files on the GHCi command line.
    Alternatively, this link failure might indicate a bug in GHCi.
    If you suspect the latter, please send a bug report to:
      glasgow-haskell-bugs@haskell.org
    committed Jan 27, 2013
Commits on Jan 8, 2013
  1. Remove unused datatype

    committed Jan 8, 2013
Commits on Jan 7, 2013
  1. Make it easier to add new tests

    Move simple tests into Main.hs to suggest to future test writers that it's okay
    to do so.  Adding a module to the testsuite takes a lot of steps, and was a
    barrier to adding new tests.
    
    Update WRITING-TESTS accordingly.
    joeyadams committed Jan 7, 2013
Commits on Jan 6, 2013
  1. Add test/Fold.hs

    If we switch to PostgreSQL parameterized queries in the future,
    this will break:
    
        query conn "FETCH FORWARD ? FROM fold" (Only chunkSize)
    
    PostgreSQL doesn't support parameter substitution here:
    
        > FETCH FORWARD $1 FROM c;
        ERROR:  syntax error at or near "$1"
        LINE 1: FETCH FORWARD $1 FROM c;
    
    postgresql-simple constructs the query string itself, so this
    works for now.
    joeyadams committed Jan 5, 2013
  2. Use the new infix synonym for mappend (<>)

    Define it in Compat to support base < 4.5
    
    Also, tweak Compat's doc comment, as we no longer use regex (see a2a04b3).
    joeyadams committed Jan 5, 2013
Commits on Oct 14, 2012
  1. Change withTransactionModeRetry to allow the user to determine when t…

    …o retry
    
    withTransactionModeRetry previously would retry if a not_serializable exception
    was thrown, but this can be a little too fine grained. There are cases when a
    transaction should be retried when a unique_violation occurs (e.g., a race
    condition occurs). This allows users to tune the retrying semantics to the
    needs of their application.
    Oliver Charles committed Oct 14, 2012
Commits on Oct 10, 2012
  1. Add errSQLTableOid to ResultError

    jochu committed Oct 10, 2012