Thread: showing effective max_connections

showing effective max_connections

From
Zhihong Yu
Date:
Hi,
For non superusers, the max connections would be lower than what max_connections specifies.

Should we display the effective value when non superuser issues `SHOW max_connections` ?

Thanks

Re: showing effective max_connections

From
Tom Lane
Date:
Zhihong Yu <zyu@yugabyte.com> writes:
> Hi,
> For non superusers, the max connections would be lower than what
> max_connections
> specifies.

> Should we display the effective value when non superuser issues `SHOW
> max_connections` ?

That seems more likely to add confusion than remove it.

            regards, tom lane