Skip to content

Commit c00d621

Browse files
authored
Update README.md
1 parent ea141cf commit c00d621

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

+9-6
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ Generally you will access the PostgreSQL server through a pool of clients. A cl
2222
var Pool = require('pg').Pool;
2323

2424
var config = {
25-
user: 'foo', //env var: PGUSER
26-
database: 'my_db', //env var: PGDATABASE
27-
password: 'secret', //env var: PGPASSWORD
28-
port: 5432 //env var: PGPORT
25+
user: 'foo',
26+
password: 'secret',
27+
database: 'my_db',
28+
port: 5432
2929
};
3030

3131
var pool = new Pool(config);
@@ -50,9 +50,12 @@ pool.connect(function(err, client, done) {
5050
});
5151
```
5252

53-
node-postgres uses [pg-pool](https://github.com/brianc/node-pg-pool.git) to manage pooling and only provides a very thin layer on top. It's highly recommend you read the documentation for [pg-pool](https://github.com/brianc/node-pg-pool.git)
53+
node-postgres uses [pg-pool](https://github.com/brianc/node-pg-pool.git) to manage pooling and only provides a very thin layer on top.
5454

55-
[Check this out for the get up and running quickly example](https://github.com/brianc/node-postgres/wiki/Example)
55+
It's _highly recommend_ you read the documentation for [pg-pool](https://github.com/brianc/node-pg-pool.git)
56+
57+
58+
[Here is a tl;dr get up & running quickly exampe](https://github.com/brianc/node-postgres/wiki/Example)
5659

5760
### Client instance
5861

0 commit comments

Comments
 (0)