Merge branch 'master' of github.com:brianc/node-postgres

This commit is contained in:
Brian M. Carlson 2014-10-01 14:43:49 -04:00
commit 1b61e16e47

View File

@ -79,7 +79,7 @@ Documentation is a work in progress primarily taking place on the github WIKI
## Native Bindings
node-postgres contains a pure JavaScript driver and also exposes JavaScript bindings to libpq. You can use either interface. I personally use the JavaScript bindings as the are quite fast, and I like having everything implemented in JavaScript.
node-postgres contains a pure JavaScript driver and also exposes JavaScript bindings to libpq. You can use either interface. I personally use the JavaScript bindings as they are quite fast, and I like having everything implemented in JavaScript.
To use native libpq bindings replace `require('pg')` with `require('pg').native`. If you __do not__ need or want the native bindings at all, consider using [node-postgres-pure](https://github.com/brianc/node-postgres-pure) instead which does not include them.