Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Dec 26, 2012
  1. Merge pull request #2 from carletes/master

    authored
    Fix JSON syntax in package.json
  2. Merge pull request #1 from jsievert/master

    authored
    fixes package.json file
Commits on Jan 20, 2012
  1. @carletes

    Fix JSON syntax

    carletes authored
Commits on Aug 23, 2011
  1. removed trailing comma for package.json -- should allow for installs …

    jsievert authored
    …to work via npm.
Commits on Jan 1, 2011
  1. Zero-length resultsets are no longer an error.

    Aurynn Shaw authored
Commits on Dec 28, 2010
  1. Modification to make postgres.js not advance to the next TX block if …

    Aurynn Shaw authored
    …it's still in a TX.
    
    Updated the package.json
    Modifying the complex prepared test.
Commits on Dec 10, 2010
  1. Fixing the readme.

    Aurynn Shaw authored
  2. Added notify support to the driver.

    Aurynn Shaw authored
    Added t/notify.js for a quick test case for notify.
Commits on Dec 9, 2010
  1. Adds better support for the driver under REPL conditions.

    Aurynn Shaw authored
    Fixes a minor bug with the readme and pointing it to the correct URI.
    
    Adds the initial package.json for NPM support.
Commits on Oct 28, 2010
  1. Transactions (basically) seem to work. No immediate side-effects to u…

    Aurynn Shaw authored
    …sing transaction objects, or doing multiple queries in a given TX context.
    
    Added a basic test-case as t/transaction.js
  2. Adding error test runner, t/error.js

    Aurynn Shaw authored
    Update the test runners and demo.js to use console.log instead of sys.puts.
    
    Updated the Query object to be compliant with multiple Queries in the same Transaction. Better support for system Transactions.
  3. Update to support the fully expanded, node-style error response patte…

    Aurynn Shaw authored
    …rn, specifically:
    
    db.query(query, args, function (error, results){});
Commits on Oct 22, 2010
  1. Adding support for INSERT...RETURNING

    Aurynn Shaw authored
    Additional support for NoData queries. They should now run correctly and not crash the driver.
    
    TODO: Provide a null result set and a TX object that knows how many rows were modified (if any) for insert, etc. commands.
Commits on Oct 15, 2010
  1. Re-removing the debugging line.

    Aurynn Shaw authored
  2. Transaction support now works As Expected.

    Aurynn Shaw authored
    TX objects do not (yet) support implicit BEGIN.
  3. Fixed a bug with prepared queries not obtaining a localized scope.

    Aurynn Shaw authored
    Added some initial test cases under t/
    Initial test work on the transaction object
Commits on Oct 11, 2010
  1. Adding license

    Aurynn Shaw authored
Commits on Oct 10, 2010
  1. Cleanup of the debug messages.

    Aurynn Shaw authored
  2. Prepared queries work As Expected.

    Aurynn Shaw authored
    Lots of debugging symbols still defaulting to on, that need to be cleaned up.
    
    Other code that needs to be written:
     * Disengagement code, so that a messages block that's retired can be primed when it is placed back onto the query buffer. (say a .execute gets run later.)
     * LISTEN. It makes so much sense.
Commits on Sep 30, 2010
  1. Multiple queries & transactioned queries now working correctly.

    Aurynn Shaw authored
    Prepared queries are still broken.
    
    Underlying pipeline/query buffer mechanism appears to be working correctly.
Commits on Sep 28, 2010
  1. Re-broke prepared queries.

    Aurynn Shaw authored
    Mostly successfully migrated to the internal Transaction object metaphor. Queries are once again working successfully in the TX format.
Commits on Sep 19, 2010
  1. Adding tranaction support into the core Connection object.

    Aurynn Shaw authored
    Contemplating adding ReadyForQuery as a listener in the tx itself, so we can trap the messaging and next-query a little more effectively?
Commits on Sep 14, 2010
  1. Breaking out the internal handling into transaction objects that can …

    Aurynn Shaw authored
    …be put directly onto connection queues, as opposed to manipulating the wire directly.
Commits on Aug 31, 2010
  1. Cleanup of readme. Adding license to readme.

    Aurynn Shaw authored
    Modification of the execute stage of prepared statements to allow multiple bound portals on the same prepared query.
  2. Adding the BindComplete message.

    Aurynn Shaw authored
    Verified node 0.2.0 support.
Commits on Aug 25, 2010
  1. Debugging cleanup.

    Aurynn Shaw authored
  2. Adding in support for ? -> $1, etc. syntax.

    Aurynn Shaw authored
    Very simple regex thus far, and will likely prove to be brittle.
Commits on Aug 24, 2010
  1. Prepared queries now work mostly as expected. :)

    Aurynn Shaw authored
Commits on Aug 18, 2010
  1. Added the "Bind" message.

    Aurynn Shaw authored
    Modification to the Prepare blocks so they actually work.
    Prepare now yields more or less correctly to the Execute message(s)
    
    Bind message isn't working, and the code needs a lot of optimization and thought before it can be considered production-usable
Commits on Aug 10, 2010
Commits on Aug 9, 2010
  1. Updated postgres-pure.js to compile and begin to actually work.

    Aurynn Shaw authored
    Modification to demo.js to provide correct syntax ($1).
    
    Currently having an issue with the DESCRIBE message; modified buffer_extras to try to solve it. No luck as yet.
Commits on Aug 2, 2010
  1. Cleaned up the syntax errors; postgres-pure.js now compiles. Time to …

    Aurynn Shaw authored
    …start debugging.
  2. Removal of the sql.js requirement; will remove the file shortly.

    Aurynn Shaw authored
    Significant upgrades to the connection logic; now (mostly) implements prepared queries and parameterized queries by default.
    .query has been refactored to use the prepared query logic (in the event of parameters); otherwise, it uses the default Query message.
    
    Messages are now handled as multi-part blocks pushed onto the wire. This is done to allow for a complete multi-part message (IE, prepared statements) to be
    messaged without the driver attempting to perform messages out of sequence.
Something went wrong with that request. Please try again.