Re: [HACKERS] Better detail logging for password auth failures

2016-01-06 Thread Robert Haas
On Thu, Dec 31, 2015 at 11:09 AM, Edson - Amplosoft Software wrote: > [ quote of an existing message in its entirety ] > -- > Sent from my Android device with K-9 Mail. Please excuse my brevity. Yes, that was extremely brief. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterpri

Re: [HACKERS] Better detail logging for password auth failures

2015-12-31 Thread Edson - Amplosoft Software
Em 31 de dezembro de 2015 04:56:55 BRST, Noah Misch escreveu: >On Wed, Dec 30, 2015 at 10:18:35AM -0500, Tom Lane wrote: >> Andres Freund writes: >> > On 2015-12-29 11:07:26 -0500, Tom Lane wrote: >> >> In passing, the patch gets rid of a vestigial >CHECK_FOR_INTERRUPTS() >> >> call; it was ad

Re: [HACKERS] Better detail logging for password auth failures

2015-12-30 Thread Noah Misch
On Wed, Dec 30, 2015 at 10:18:35AM -0500, Tom Lane wrote: > Andres Freund writes: > > On 2015-12-29 11:07:26 -0500, Tom Lane wrote: > >> In passing, the patch gets rid of a vestigial CHECK_FOR_INTERRUPTS() > >> call; it was added by e710b65c and IMO should have been removed again > >> by 6647248e.

Re: [HACKERS] Better detail logging for password auth failures

2015-12-30 Thread Tom Lane
Andres Freund writes: > On 2015-12-29 11:07:26 -0500, Tom Lane wrote: >> In passing, the patch gets rid of a vestigial CHECK_FOR_INTERRUPTS() >> call; it was added by e710b65c and IMO should have been removed again >> by 6647248e. There's certainly no very good reason to have one right >> at that

Re: [HACKERS] Better detail logging for password auth failures

2015-12-30 Thread Andres Freund
On 2015-12-29 11:07:26 -0500, Tom Lane wrote: > In passing, the patch gets rid of a vestigial CHECK_FOR_INTERRUPTS() > call; it was added by e710b65c and IMO should have been removed again > by 6647248e. There's certainly no very good reason to have one right > at that spot anymore. Why? Doesn't

Re: [HACKERS] Better detail logging for password auth failures

2015-12-30 Thread Michael Paquier
On Wed, Dec 30, 2015 at 1:07 AM, Tom Lane wrote: > We often tell people to look in the postmaster log for more information > about authentication problems; but an off-list question prompted me to > notice that many of the common authentication failure cases don't actually > get any useful commenta

[HACKERS] Better detail logging for password auth failures

2015-12-29 Thread Tom Lane
We often tell people to look in the postmaster log for more information about authentication problems; but an off-list question prompted me to notice that many of the common authentication failure cases don't actually get any useful commentary in the log. The attached proposed patch remedies this