Commits on Feb 9, 2012
Commits on Jan 30, 2012
  1. Bump version to 0.6.3

    committed Jan 30, 2012
Commits on Jan 6, 2012
  1. Bump version to 0.6.2

    committed Jan 6, 2012
Commits on Dec 30, 2011
  1. Bump version to 0.6.1

    committed Dec 30, 2011
  2. Add unsafeFreeResult

    Added at the request of Felipe Lessa.  I'm skeptical that this function
    is worth the trouble,  but I'm adding it in the name of science.  I'm not
    responsible for the ensuing shenanigans.
    committed Dec 30, 2011
Commits on Dec 27, 2011
  1. Fix grammar in comment

    committed Dec 27, 2011
  2. Delete Trailing Whitespace

    committed Dec 27, 2011
Commits on Dec 25, 2011
Commits on Dec 22, 2011
  1. Tweak comments

    committed Dec 22, 2011
  2. Tweak GHC 7's finalizer for LibPQ Connections

    Not impossible as I had guessed,  but this may be worth further investigation
    committed Dec 22, 2011
  3. Export the Oid Constructor

    committed Dec 22, 2011
Commits on Dec 21, 2011
  1. Make Oids a newtype

    committed Dec 21, 2011
Commits on Dec 20, 2011
Commits on Dec 18, 2011
  1. Fix memory leak in `notifies`

    committed Dec 18, 2011
Commits on Dec 17, 2011
  1. Export LoFd

    committed Dec 17, 2011
  2. Fix typo in FFI imports

    committed Dec 17, 2011
  3. Fix finalizer to use closeFdWith

    committed Dec 17, 2011
Commits on Sep 2, 2011
  1. Add some bang patterns

    committed Sep 2, 2011
Commits on Aug 19, 2011
  1. Removed indirections that tracked explicit disconnections

    Previously it had been safe to attempt to use a database connection
    after it had been explicitly disconnected.  This now causes a memory
    fault, which may manifest itself in benign or not-so-benign ways.
    As this is intended to be a very low-level binding to libpq,  the
    extra indirections added for this small behaviour seemed high.
    Applications should usually be using a higher-level binding,  which
    should handle this use-after-disconnect problem and other issues
    in fewer indirections.
    committed Aug 19, 2011
Commits on May 13, 2011
Commits on May 12, 2011
  1. Remark some FFI imports as unsafe

    After reading the source of libpq a bit,  I marked a bunch of functions that
    should almost certainly be marked as unsafe.
    A few tougher calls that need benchmarks:
        PQresultErrorField:   provisionally "safe"
        PQfnumber         :   provisionally "safe"
        PQcmdTuples       :   provisionally "unsafe"
    Also note that a number of "unsafe" functions can perform synchronous IO,
    however these functions shouldn't ever do so in well-written programs.
    These are functions such as PQfname,  which will log a message if given
    an out-of-bounds index.   So don't do that,  or you'll stop the Haskell
    world while the IO completes
    committed May 12, 2011
  2. Delete Trailing Whitespace

    committed May 12, 2011
  3. Mark all calls as safe for now

    This is to avoid "stopping the Haskell world" until the call completes.
    Calls that are guaranteed to return in a short period of time will be
    changed back to "unsafe",  however cursory review of libpq source code
    suggests that even calls that one might think "should obviously be marked
    as unsafe" perform synchronous IO.
    committed May 12, 2011
Commits on Apr 6, 2011
  1. v0.4.1

    tnarg committed Apr 6, 2011