Re: How to determine failed connection attempt due to invalid authorization (libpq)? - Mailing list pgsql-hackers

From Dmitriy Igrishin
Subject Re: How to determine failed connection attempt due to invalid authorization (libpq)?
Date
Msg-id AANLkTim_t6UQjCUM8yEYU=JMpEibsNFVBsZDc4xg5ZUq@mail.gmail.com
Whole thread Raw
In response to Re: How to determine failed connection attempt due to invalid authorization (libpq)?  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: How to determine failed connection attempt due to invalid authorization (libpq)?
List pgsql-hackers
Hey Robert,<br /><br />I've asked pgsql-general.<br />Unfortunately it seems that there is no better way to do it
except<br/>parsing PQerrorMessage(). Sadly.<br /><br /><br /><div class="gmail_quote">2010/10/17 Robert Haas <span
dir="ltr"><<ahref="mailto:robertmhaas@gmail.com">robertmhaas@gmail.com</a>></span><br /><blockquote
class="gmail_quote"style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left:
1ex;"><divclass="im">On Thu, Oct 14, 2010 at 2:59 PM, Dmitriy Igrishin <<a
href="mailto:dmitigr@gmail.com">dmitigr@gmail.com</a>>wrote:<br /> > Is there way to determine failed connection
attemptdue to invalid<br /> > authorization (libpq)?<br /><br /></div>I think this question would be more
appropriateon pgsql-general.  I<br /> suppose you would have to look at PQerrorMessage().<br /><font
color="#888888"><br/> --<br /> Robert Haas<br /> EnterpriseDB: <a href="http://www.enterprisedb.com"
target="_blank">http://www.enterprisedb.com</a><br/> The Enterprise PostgreSQL Company<br
/></font></blockquote></div><br/><br clear="all" /><br />-- <br />// Dmitriy.<br /><br /><br /> 

pgsql-hackers by date:

Previous
From: Brendan Jurd
Date:
Subject: Re: Keywords in pg_hba.conf should be field-specific
Next
From: Dean Rasheed
Date:
Subject: Re: WIP: extensible enums