From 841ae1b35fa5998d74eb849b6e6d267feb5e294b Mon Sep 17 00:00:00 2001 From: Quin Lynch Date: Mon, 16 May 2022 01:47:53 -0300 Subject: [PATCH] remove references to unix-domain sockets --- docs/api/asyncio_client.rst | 14 ++------------ docs/api/blocking_client.rst | 14 ++------------ 2 files changed, 4 insertions(+), 24 deletions(-) diff --git a/docs/api/asyncio_client.rst b/docs/api/asyncio_client.rst index 4b9a1965..87441f26 100644 --- a/docs/api/asyncio_client.rst +++ b/docs/api/asyncio_client.rst @@ -44,26 +44,16 @@ Client the :ref:`DSN Specification `. :param host: - Database host address as one of the following: - - - an IP address or a domain name; - - an absolute path to the directory containing the database - server Unix-domain socket (not supported on Windows); - - a sequence of any of the above, in which case the addresses - will be tried in order, and the host of the first successful - connection will be used for the whole connection pool. + Database host address as an IP address or a domain name; If not specified, the following will be tried, in order: - host address(es) parsed from the *dsn* argument, - the value of the ``EDGEDB_HOST`` environment variable, - - on Unix, common directories used for EdgeDB Unix-domain - sockets: ``"/run/edgedb"`` and ``"/var/run/edgedb"``, - ``"localhost"``. :param port: - Port number to connect to at the server host - (or Unix-domain socket file extension). If multiple host + Port number to connect to at the server host. If multiple host addresses were specified, this parameter may specify a sequence of port numbers of the same length as the host sequence, or it may specify a single port number to be used for all host diff --git a/docs/api/blocking_client.rst b/docs/api/blocking_client.rst index d427247c..1d87201b 100644 --- a/docs/api/blocking_client.rst +++ b/docs/api/blocking_client.rst @@ -44,26 +44,16 @@ Client the :ref:`DSN Specification `. :param host: - Database host address as one of the following: - - - an IP address or a domain name; - - an absolute path to the directory containing the database - server Unix-domain socket (not supported on Windows); - - a sequence of any of the above, in which case the addresses - will be tried in order, and the host of the first successful - connection will be used for the whole connection pool. + Database host address as an IP address or a domain name; If not specified, the following will be tried, in order: - host address(es) parsed from the *dsn* argument, - the value of the ``EDGEDB_HOST`` environment variable, - - on Unix, common directories used for EdgeDB Unix-domain - sockets: ``"/run/edgedb"`` and ``"/var/run/edgedb"``, - ``"localhost"``. :param port: - Port number to connect to at the server host - (or Unix-domain socket file extension). If multiple host + Port number to connect to at the server host. If multiple host addresses were specified, this parameter may specify a sequence of port numbers of the same length as the host sequence, or it may specify a single port number to be used for all host