Skip to content

Commit e1ebf3a

Browse files
committed
Clarify SSL limitations
cc rust-postgres#36
1 parent 9eb69c7 commit e1ebf3a

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/lib.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,8 @@ pub struct PostgresCancelData {
369369
/// `PostgresConnection::cancel_data`. The object can cancel any query made on
370370
/// that connection.
371371
///
372-
/// Only the host and port of the connetion info are used.
372+
/// Only the host and port of the connetion info are used. See
373+
/// `PostgresConnection::connect` for details of the `params` argument.
373374
///
374375
/// # Example
375376
///
@@ -852,7 +853,8 @@ impl PostgresConnection {
852853
/// absolute path of the directory containing the socket file. Since `/` is
853854
/// a reserved character in URLs, the path should be URL encoded. If the
854855
/// path contains non-UTF 8 characters, a `PostgresConnectParams` struct
855-
/// should be created manually and passed in.
856+
/// should be created manually and passed in. Note that Postgres does not
857+
/// support SSL over Unix sockets.
856858
///
857859
/// # Examples
858860
///

0 commit comments

Comments
 (0)