[HACKERS] libpq and TOO MANY CONNECTIONS

2010-08-12 Thread Dmitriy Igrishin
Hey all, It seams, that all of the error codes should 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? Regards, Dmitriy

Re: [HACKERS] libpq and TOO MANY CONNECTIONS

2010-08-12 Thread Tom Lane
Dmitriy Igrishin dmit...@gmail.com writes: It seams, that all of the error codes should 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 ? :) It isn't. The lack