Permalink
Commits on Jan 6, 2012
  1. Remove a layer of indirection

    committed Jan 6, 2012
Commits on Jan 4, 2012
  1. Add "instance (Result a, Result b) => Result (Either a b)"

    First, we try to convert the field to a value of type "b",  if
    that fails then we try to convert the field to a value of type "a"
    committed Jan 4, 2012
Commits on Jan 3, 2012
  1. Bump version to 0.0.2

    committed Jan 3, 2012
  2. Improve Large Object Support

    committed Jan 3, 2012
  3. First attempt at a fold combinator

    Untested at this point,  and I know it has a few bugs and possible bugs:
    
    1.  If the correct OID/typenames aren't in the cache,  getTypename will
        attempt to fetch the OID from the database when libpq is busy.
    
        There are a couple possible fixes:
            A.  Fetch all oids at connection startup.
    
            B.  Buffer results until the connection becomes available, then
                fetch oids.  This breaks the resource usage of fold, though.
    
                Resource usage might be moot at this stage anyway.  I believe
                that the database backend sends results eagerly,  i.e.
                potentially faster than the fold can consume them.  Maybe I
                should study Takusen.  Does it create a cursor for fetching
                results incrementally?
    
            C.  establish another connection to fetch the typename/oid pairs
    
    2.  There likely problems with exceptions,  that might cause a connection
        to be rendered unusable.
    committed Jan 3, 2012
Commits on Jan 2, 2012
Commits on Dec 30, 2011
  1. Bump version to 0.0.1

    committed Dec 30, 2011
  2. Code for "instance Result Null"

    committed Dec 30, 2011
  3. Export SqlError

    committed Dec 30, 2011
  4. Merge pull request #1 from meteficha/master

    Better lower bounds on 'text' package.
    committed Dec 30, 2011
  5. Update .cabal file

    committed Dec 30, 2011
  6. Large Object tweaks

    committed Dec 30, 2011
  7. Exception improvements

    committed Dec 30, 2011
  8. Edit comments

    committed Dec 30, 2011
Commits on Dec 29, 2011
Commits on Dec 28, 2011
  1. Support for Bytea results

    committed Dec 28, 2011
Commits on Dec 27, 2011
  1. Make this compile against postgresql-libpq-0.6

    I probably ought to get loExport and loImport to raise an informative
    exception instead of punting.
    committed Dec 27, 2011
Commits on Dec 26, 2011
Commits on Dec 25, 2011
  1. Delete Trailing Whitespace

    committed Dec 25, 2011
  2. Rudimentary Large Object support

    committed Dec 25, 2011