Re: The error message "sorry, too many clients already" is imprecise

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Piotr Stefaniak <postgres(at)piotr-stefaniak(dot)me>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: The error message "sorry, too many clients already" is imprecise
Date: 2017-08-16 00:38:19
Message-ID: 09a55ebe-8edf-0810-a144-2c2233066dda@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2017-08-16 00:42:20 Re: POC: Sharing record typmods between backends
Previous Message Michael Paquier 2017-08-16 00:37:24 Re: pg_receivewal and messages printed in non-verbose mode