From 802616b0286c9a70053b6c5ab4e0446e98ad7e07 Mon Sep 17 00:00:00 2001 From: Brian C Date: Fri, 13 Nov 2015 10:53:02 -0600 Subject: [PATCH] Update README.md Remove outdated information about pg.js --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 37601a8f..4e49d8f2 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,6 @@ Receive result rows from [pg](https://github.com/brianc/node-postgres) as a readable (object) stream. -This module __only works with the pure JavaScript client__. ## installation @@ -15,14 +14,6 @@ $ npm install pg-query-stream _requires pg>=2.8.1_ -##### - or - - -```bash -$ npm install pg.js -$ npm install pg-query-stream -``` - -_requires pg.js>=2.8.1_ ## use @@ -46,6 +37,8 @@ The stream uses a cursor on the server so it efficiently keeps only a low number This is especially useful when doing [ETL](http://en.wikipedia.org/wiki/Extract,_transform,_load) on a huge table. Using manual `limit` and `offset` queries to fake out async itteration through your data is cumbersom, and _way way way_ slower than using a cursor. +_note: this module only works with the JavaScript client, and does not work with the native bindings. libpq doesn't expose the protocol at a level where a cursor can be manipulated directly_ + ## contribution I'm very open to contribution! Open a pull request with your code or idea and we'll talk about it. If it's not way insane we'll merge it in too: isn't open source awesome?