diff options
| author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-10-10 22:02:20 +0100 |
|---|---|---|
| committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2018-10-10 22:02:20 +0100 |
| commit | 382eeccab8cd7a13abd71f6ee5dcc3583af2d8ca (patch) | |
| tree | efe368049dc68655bc74c46245d3945d89933244 /doc | |
| parent | 1c553bb703d5b087e1f5b7966584c70b0b8a196a (diff) | |
| download | psycopg2-382eeccab8cd7a13abd71f6ee5dcc3583af2d8ca.tar.gz | |
Small tweaks to connection.host docs
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/src/connection.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/connection.rst b/doc/src/connection.rst index 2231995..f6e3f4a 100644 --- a/doc/src/connection.rst +++ b/doc/src/connection.rst @@ -604,11 +604,11 @@ The ``connection`` class .. attribute:: host - Returns the server host name of the active connection. + The server host name of the active connection. This can be a host name, an IP address, or a directory path if the connection is via Unix socket. (The path case can be distinguished - because it will always be an absolute path, beginning with /.) + because it will always be an absolute path, beginning with ``/``.) .. seealso:: libpq docs for `PQhost()`__ for details. |
