Permalink
Commits on Jan 9, 2017
  1. Merge pull request #60 from caoxu2000/keep_alive

    gregjopa committed on GitHub Jan 9, 2017
    Add TCP KeepAlive connection config option
  2. Add TCP KeepAlive connection config option

    Xu Cao committed Dec 16, 2016
  3. Merge pull request #61 from gregjopa/update-travis

    gregjopa committed on GitHub Jan 9, 2017
    Test against supported versions of node.js
Commits on Jan 3, 2017
Commits on Dec 1, 2016
  1. Stop using deprecated crypto function

    JakeHedman committed Dec 1, 2016
    Replace crypto.createCredentials with tls.createSecureContext to get rid
    of deprecation warning.
Commits on Aug 24, 2016
Commits on Aug 9, 2016
  1. Merge pull request #57 from Vanuan/patch-1

    wvanbergen committed on GitHub Aug 9, 2016
    Check against node 4.0
Commits on Aug 5, 2016
  1. Check against node 4.0

    Vanuan committed on GitHub Aug 5, 2016
Commits on Jun 17, 2016
  1. Compile and bump to 0.5.4

    JakeHedman committed Jun 17, 2016
Commits on Jun 14, 2016
  1. Merge pull request #55 from spillevink/multi-query-catchable

    wvanbergen committed on GitHub Jun 14, 2016
    Multi query catchable
  2. Send multi-query exceptions to callback

    JakeHedman committed Jun 13, 2016
    Instead of throwing them globally
Commits on Apr 16, 2016
  1. Merge pull request #53 from twojtasz/master

    wvanbergen committed Apr 16, 2016
    Remove unnecessary 'require' in the timestamp decoder
  2. Remove unnecessary 'require' in the timestamp decoder

    twojtasz committed Apr 16, 2016
    The commit 5eae85a changed the way the timezoneOffset was handled
    and this require appears to have been an artifact of that change.
    
    Instead of being an export from the vertica module, it is handled
    directly by VerticaTimestamp.setTimezoneOffset().
    
    Calling require() repeatly still hits filepath related code, even if
    cached. That can be expensive.
Commits on Feb 3, 2015
Commits on Feb 1, 2015
  1. Merge pull request #41 from sudhakar/iojs_support

    wvanbergen committed Feb 1, 2015
    iojs support
  2. iojs support

    sudhakar committed Feb 1, 2015
    Dont set buffer length explicitly to null. Setting it to ```null``` causes some versions of node & iojs to interpret it as 0, causing buffer to be truncated.
Commits on Oct 24, 2014
  1. Compile, and bump version

    wvanbergen committed Oct 24, 2014
  2. Bump to version 0.5.1

    wvanbergen committed Mar 25, 2014
  3. Merge pull request #40 from themadcreator/master

    wvanbergen committed Oct 24, 2014
    Fix statement interruption
Commits on Oct 20, 2014
  1. remove whitespace.

    themadcreator committed Oct 20, 2014
Commits on Oct 18, 2014
  1. Fix statement interruption

    themadcreator committed Oct 18, 2014
    Fix syntax for interruptStatement method to refer to correct `conn` object.
    
    Fix SQL statement for interruptStatement to use `statementID` variable (not SQL column).
    
    Add unit test to verify statement interruption.
    
    NOTE:
      Unforunately, the normal testing method using `SELECT SLEEP(1000)` does
      not work since `SLEEP` statements are not interruptible. See
      connection_test.coffee for more comments.
    
    Coffeescript modifications only. Javascript not built.
Commits on Oct 1, 2014
  1. Merge pull request #39 from themadcreator/master

    wvanbergen committed Oct 1, 2014
    Pass through callbacks in CopyInResponse method
Commits on Sep 30, 2014
  1. pass socket.write callback as second argument since node v 0.8 doesn\…

    themadcreator committed Sep 30, 2014
    …'t check for null encoding argument. v 0.10 will accept callback as second argument.
Commits on Sep 26, 2014
  1. Pass through callbacks in CopyInResponse method

    themadcreator committed Sep 26, 2014
    This enabled users to receive notification when a COPY query has consumed the
    current data. This can be used to stream bulk data efficiently using a COPY
    query.
    
    Example:
    
        # `buffered` is a stream-like object that can emit 'data', 'done', and 'error' events and can be resumed when more data is needed.
        copyIn = (transfer, success, fail) ->
          buffered.on 'data',  (data) -> transfer(data, -> buffered.resume())
          buffered.on 'done',  ()     -> success()
          buffered.on 'error', (err)  -> fail(err)
          buffered.resume()
    
        # Now we can stream in pipe-separated values into the DB
        db.copy("COPY #{schema.table} (#{schema.columns.join(',')}) FROM STDIN DELIMITER '|' NULL '' ABORT ON ERROR", copyIn)
    
    NOTES:
    
      I regenerated the src using coffeescript 1.7.1, but some of the javascripts
      resources appeared to update even though I did not modify the coffee source.
Commits on Mar 25, 2014
Commits on Mar 23, 2014
  1. Bump version to 0.5.0

    wvanbergen committed Mar 23, 2014
  2. Merge pull request #31 from wvanbergen/add_copy_tests

    wvanbergen committed Mar 23, 2014
    Better error handling and test coverage
  3. Fix error type name

    wvanbergen committed Mar 23, 2014