Hi, We have a redundant PostgreSQL server pair and this is how I managed to connect to both servers using the underlying libpq features.
https://www.netnea.com/cms/2020/09/16/redundant-postgresql-connection-in-django/ keywords : DATABASES, OPTIONS, target_session_attrs, sslmode Regards, Charles -- Charles Bueche <[email protected]> -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6f8b9ebc-37b2-ef43-9702-80ffce4d6ae7%40bueche.ch.

