From 93be10a6551a1767e94973be97d14ad2dfc9c359 Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Thu, 17 Aug 2023 16:17:34 +0200 Subject: [PATCH] Remove Python 2 install instructions from docs/README (#2822) docs/README.rst mainly duplicates README.rst and also should be changed. Besides that remove test/coverage badges. followup on #2821 --- README.rst | 2 +- docs/README.rst | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 104f0907..f8f187e4 100644 --- a/README.rst +++ b/README.rst @@ -93,7 +93,7 @@ There are a few options available: :: - pip install psycopg[binary] + pip install psycopg[binary]>=3.0.0 **General installation for pip** diff --git a/docs/README.rst b/docs/README.rst index 4e3e7529..daba743d 100644 --- a/docs/README.rst +++ b/docs/README.rst @@ -46,9 +46,8 @@ There are a few options available: :: - sudo apt-get install python-psycopg2 # install python2 psycopg2 module on Debian/Ubuntu - sudo apt-get install python3-psycopg2 # install python3 psycopg2 module on Debian/Ubuntu - sudo yum install python-psycopg2 # install python2 psycopg2 on RedHat/Fedora/CentOS + sudo apt-get install python3-psycopg2 # install psycopg2 module on Debian/Ubuntu + sudo yum install python3-psycopg2 # install psycopg2 on RedHat/Fedora/CentOS 2. Install psycopg2 from the binary package @@ -165,10 +164,6 @@ Applications Should Not Use Superusers When connecting from an application, always use a non-superuser. Patroni requires access to the database to function properly. By using a superuser from an application, you can potentially use the entire connection pool, including the connections reserved for superusers, with the ``superuser_reserved_connections`` setting. If Patroni cannot access the Primary because the connection pool is full, behavior will be undesirable. -.. |Build Status| image:: https://travis-ci.org/zalando/patroni.svg?branch=master - :target: https://travis-ci.org/zalando/patroni -.. |Coverage Status| image:: https://coveralls.io/repos/zalando/patroni/badge.svg?branch=master - :target: https://coveralls.io/r/zalando/patroni?branch=master Testing Your HA Solution --------------------------------------