Re: [HACKERS] The error message "sorry, too many clients already" isimprecise - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [HACKERS] The error message "sorry, too many clients already" isimprecise
Date
Msg-id 09a55ebe-8edf-0810-a144-2c2233066dda@2ndquadrant.com
Whole thread Raw
In response to [HACKERS] The error message "sorry, too many clients already" is imprecise  (Piotr Stefaniak <postgres@piotr-stefaniak.me>)
List pgsql-hackers
On 8/8/17 06:39, Piotr Stefaniak wrote:
> I've made a hack for myself (attached diff against 9.4) which adds a
> DETAIL-level message telling me which proc list was saturated. It's not
> committable in its current form because of a C99 feature and perhaps for
> other reasons.

There are other places that also emit the "sorry" message that would
also need to be looked at.  Also, the patch would need to be against master.

This kind of patch to make error messages more precise is usually
welcome, so keep working on it.  But this needs a bit more refinement as
it stands.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] pg_receivewal and messages printed in non-verbose mode
Next
From: Thomas Munro
Date:
Subject: Re: [HACKERS] POC: Sharing record typmods between backends