Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: async
Commits on Nov 14, 2011
  1. Minor code cleanups

    authored
Commits on Nov 13, 2011
  1. Non-working (but interesting?) concept

    authored
    This seems like a rather elegant concept.  There isn't any direct
    request-response structure,  but rather a streaming communications
    pattern.   And it's easy to throttle the requests by implementing
    a bounded communication channel between the muxer and demuxer.
    
    But as it stands, I appear to have run into a roadblock I can't get
    around.  I don't know how to write the demuxer so that it responds
    to both asynchronous notifications and client-side disconnects in a
    timely fashion.   Asynchronous exceptions would be a possibility, but
    that is playing with fire.  I could spin up another thread,  but
    there are more appealing three-thread solutions.
    
    Interestingly enough,  if Postgres would delay hanging up a connection
    after receiving a Terminate 'X' message until it's finished responding
    to any requests that have already been received,  then I don't think
    this concept would have any problem.  The muxer could signal the
    demuxer about the disconnect by going through the database itself.
    
    It's probably worth testing at some point if Postgres does this,  but
    wulczer on the #postgresql channel looked at postgres.c and said it
    appeared as though it would immediately hang up.  It might be interesting
    to patch PostgreSQL to support this behavior,  and see if there is any
    advantage.
Commits on Nov 9, 2011
  1. Miscellaneous Time Improvements

    authored
    Sadly, it's not a fix either.  However,  AFAICT, there really isn't
    any reason why a column in Postgres should not be declared as a
    timestamp without time zone.  The behavior of such a column makes
    absolutely no sense to me.
Commits on Oct 5, 2011
  1. @chrisdone
Commits on Sep 21, 2011
  1. @chrisdone
Commits on Aug 2, 2011
  1. @chrisdone

    Use extensible exceptions.

    chrisdone authored
  2. @chrisdone
Commits on Jun 5, 2011
  1. @chrisdone

    Connection pooling.

    chrisdone authored
  2. @chrisdone

    Fix string escaping.

    chrisdone authored
Commits on Jun 3, 2011
  1. @chrisdone

    Include internal modules.

    chrisdone authored
  2. @chrisdone

    Sorted/aligned imports.

    chrisdone authored
  3. @chrisdone

    Update exports.

    chrisdone authored
  4. @chrisdone
  5. @chrisdone
Commits on Jun 2, 2011
  1. @chrisdone
  2. @chrisdone
Commits on Jun 1, 2011
  1. @chrisdone
  2. @chrisdone

    Simple base types.

    chrisdone authored
  3. @chrisdone

    Ignore TAGS

    chrisdone authored
  4. @chrisdone

    Simple .Base.

    chrisdone authored
  5. @chrisdone

    First commit, mysql-simple source with commented out code so that it …

    chrisdone authored
    …builds without the mysql dependency.
Something went wrong with that request. Please try again.