Update README.md

This commit is contained in:
Brian C 2013-11-08 00:47:52 -06:00
parent e5f864bac0
commit 5bb93308eb

View File

@ -1,4 +1,4 @@
`npm install pg-copy-streams` ## pg-copy-streams
COPY FROM / COPY TO for node-postgres. Stream from one database to another, and stuff. COPY FROM / COPY TO for node-postgres. Stream from one database to another, and stuff.
@ -46,6 +46,12 @@ pg.connect(function(err, client, done) {
}); });
``` ```
## install
```sh
$ npm install pg-copy-streams
```
## notice ## notice
Before you set out on this magical piping journey, you _really_ should read this: http://www.postgresql.org/docs/9.3/static/sql-copy.html, and you might want to take a look at the [tests](https://github.com/brianc/node-pg-copy-streams/tree/master/test) to get an idea of how things work. Before you set out on this magical piping journey, you _really_ should read this: http://www.postgresql.org/docs/9.3/static/sql-copy.html, and you might want to take a look at the [tests](https://github.com/brianc/node-pg-copy-streams/tree/master/test) to get an idea of how things work.