Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 14, 2014
  1. Work towards more tests passing

    authored
Commits on Sep 3, 2014
  1. @santigimeno

    src: update to nan@1.3.0

    santigimeno authored santigimeno committed
    - It builds in 0.8, 0.10. and 0.11.13 without warnings.
Commits on Dec 6, 2013
  1. @rvagg
Commits on Oct 3, 2013
  1. Merge pull request #447 from eugeneware/buffer-params

    authored
    Bind Buffer Variables as binary values (with Native implementation also)
  2. @eugeneware

    Fixes for node 0.8.

    eugeneware authored
Commits on Sep 19, 2013
  1. @eugeneware
  2. @eugeneware
Commits on Sep 4, 2013
  1. @rpedela
  2. @rpedela

    #181 #366 Add support for single row mode in Postgres 9.2+. This will…

    rpedela authored
    … enable single row mode only when the user wants to stream rows.
Commits on Jul 29, 2013
  1. @rpedela
  2. @rpedela
  3. @rpedela

    #403 Only use native escape functions if PG version >= 9.0.0. Otherwi…

    rpedela authored
    …se use the JS functions.
Commits on Jul 15, 2013
  1. @rpedela

    Add support for PQescapeLiteral and PQescapeIdentifier. Also add JS v…

    rpedela authored committed
    …ersions of the functions.
Commits on Jul 8, 2013
  1. Add field metadata to query result object

    authored
    Refactored the way rows are built in the native bindings which should
    result in a small performance improvement
  2. Merge pull request #387 from brianc#350

    authored
    Ensure error being returned to native client
Commits on Jun 30, 2013
  1. Fix native quick disconnect hang

    authored
    Do not initialize connection if connection has been ended
  2. Remove uv_poll error short-circuit

    authored
    Fixes #350
Commits on Mar 28, 2013
  1. better handling of client stream termination

    authored
    1. Pass an error to an active query if the client is ended while a query is in progress.
    2. actually emit 'end' event on the client when the stream ends
    3. do not emit an error from native bindings if lasterror is null
Commits on Mar 7, 2013
Commits on Jan 24, 2013
  1. @booo
Commits on Jan 23, 2013
Commits on Jan 21, 2013
  1. fix native compile warnings

    authored
  2. @anton-kotenko

    bugfix. sometimes native copy to loose rows

    anton-kotenko authored committed
  3. @anton-kotenko

    1. behave correctly if copy to/from is send to db by query method (re…

    anton-kotenko authored committed
    …port error in standart way); 2. bugfix and code review in native copy to implementation
Commits on Jan 6, 2013
  1. @anton-kotenko
  2. @anton-kotenko

    minimal error handling

    anton-kotenko authored committed
  3. @anton-kotenko
Commits on Dec 11, 2012
Commits on Sep 26, 2012
  1. @booo

    Change return type of Cancel() to bool.

    booo authored
    This should fix the following warning on windows:
    
    ..\src\binding.cc(117): warning C4800: 'int' : forcing value to bool 'true' or
    'false' (performance warning)
    
    Spotted in issue #165.
  2. @booo
Commits on Aug 7, 2012
  1. @benmonty

    remove unnecessary whitespace

    benmonty authored committed
  2. @benmonty

    Improve error message accuracy of native SendQuery

    benmonty authored committed
    * add private method const char *GetLastError() to src/binding.cc
    * add var const char *lastErrorMessage to SendQuery in src/binding.cc
    * throw result of PQErrorMessage inside SendQuery
    
    This commit replaces the static/vague error message "PQsendQuery
    returned error code" with the actual message text of the error.
    The method GetLastError() returns the text of PQErrorMessage.
    GetLastError is called from within SendQuery to retrieve the message.
Commits on Jul 6, 2012
  1. @booo

    check if the uv_poll_t struct is initialized before calling uv_poll_stop

    booo authored
    Before this fix a call to End after an error in Connect() would result in
    a segfault.
    
    #136 (comment)
  2. @booo
Something went wrong with that request. Please try again.