mirror of
https://github.com/brianc/node-postgres.git
synced 2026-01-25 16:03:13 +00:00
Add explanation about special characters not allowed in url string
parent
3b2a738174
commit
fbfc892e38
@ -34,7 +34,7 @@ Internally the connection string is parsed and a _config_ object is created with
|
||||
var client = new Client('/tmp'); //looks for the socket file /tmp/.s.PGSQL.5432
|
||||
```
|
||||
|
||||
Caution :
|
||||
#### Caution :
|
||||
Url strings don't allow to pass special characters like `#`
|
||||
If you have some of them in your passord, don't use a connection string, use a config object and pass
|
||||
it as { host: 'foo', password: 'blah#blah' }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user