Re: How to determine failed connection attempt due to invalid authorization (libpq)?
От | Dmitriy Igrishin |
---|---|
Тема | Re: How to determine failed connection attempt due to invalid authorization (libpq)? |
Дата | |
Msg-id | AANLkTim_t6UQjCUM8yEYU=JMpEibsNFVBsZDc4xg5ZUq@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: How to determine failed connection attempt due to invalid authorization (libpq)? (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: How to determine failed connection attempt due to
invalid authorization (libpq)?
|
Список | 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 по дате отправления: