Cambiando max_connection el parámetro necesita un reinicio de Postgres
Comandos
-
Marque max_connection solo para tener en cuenta el valor actual
SHOW max_connections; -
Cambiar el valor de max_connection
ALTER SYSTEM SET max_connections TO '500'; -
Reinicie el servidor PostgreSQL