Skip to content

Commit 802616b

Browse files
committed
Update README.md
Remove outdated information about pg.js
1 parent aa72d9b commit 802616b

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

README.md

+2-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
Receive result rows from [pg](https://github.com/brianc/node-postgres) as a readable (object) stream.
66

7-
This module __only works with the pure JavaScript client__.
87

98
## installation
109

@@ -15,14 +14,6 @@ $ npm install pg-query-stream
1514

1615
_requires pg>=2.8.1_
1716

18-
##### - or -
19-
20-
```bash
21-
$ npm install pg.js
22-
$ npm install pg-query-stream
23-
```
24-
25-
_requires pg.js>=2.8.1_
2617

2718
## use
2819

@@ -46,6 +37,8 @@ The stream uses a cursor on the server so it efficiently keeps only a low number
4637

4738
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.
4839

40+
_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_
41+
4942
## contribution
5043

5144
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?

0 commit comments

Comments
 (0)