TOO MANY CONNECTIONS (53300)

From: Dmitriy Igrishin <dmitigr(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: TOO MANY CONNECTIONS (53300)
Date: 2010-08-12 14:35:13
Message-ID: AANLkTimpqzWy1hoECNpOVy8T=J0nNmALAdY7UwpFN6gx@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hey all,

I have three questions about libpq.
Is there a way to get TOO MANY CONNECTIONS error code from libpq
immediately after calling PQconnect* () ? Or how to determine such error
not parsing PQerrorMessage() ?
It seams, that all of the error codes may be obtained by calling
PQresultErrorField() ?
But this function works only with results. So in what situations
TOO MANY CONNECTIONS error may be thrown after successfully connection ? :)
In case of dblink?
The same situation with SQLSERVER REJECTED ESTABLISHMENT OF SQLCONNECTION
what does this error means?

Regards,
Dmitriy

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Cook 2010-08-12 14:51:39 What does # mean in plpgsql?
Previous Message Torsten Zühlsdorff 2010-08-12 14:04:35 Re: InitDB: Bad system call