File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ use tokio_postgres::{Error, Socket};
5959/// ```
6060///
6161/// ```not_rust
62- /// host=/var/lib /postgresql,localhost port=1234 user=postgres password='password with spaces'
62+ /// host=/var/run /postgresql,localhost port=1234 user=postgres password='password with spaces'
6363/// ```
6464///
6565/// ```not_rust
@@ -80,15 +80,15 @@ use tokio_postgres::{Error, Socket};
8080/// ```
8181///
8282/// ```not_rust
83- /// postgresql://user:password@%2Fvar%2Flib %2Fpostgresql/mydb?connect_timeout=10
83+ /// postgresql://user:password@%2Fvar%2Frun %2Fpostgresql/mydb?connect_timeout=10
8484/// ```
8585///
8686/// ```not_rust
8787/// postgresql://user@host1:1234,host2,host3:5678?target_session_attrs=read-write
8888/// ```
8989///
9090/// ```not_rust
91- /// postgresql:///mydb?user=user&host=/var/lib /postgresql
91+ /// postgresql:///mydb?user=user&host=/var/run /postgresql
9292/// ```
9393#[ derive( Clone ) ]
9494pub struct Config {
You can’t perform that action at this time.
0 commit comments