showing effective max_connections

Started by Zhihong Yuover 3 years ago2 messages
#1Zhihong Yu
zyu@yugabyte.com

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

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Zhihong Yu (#1)
Re: showing effective max_connections

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