Re: contrib: auth_delay module - Mailing list pgsql-hackers

From Robert Haas
Subject Re: contrib: auth_delay module
Date
Msg-id AANLkTi=XupPmyiA8qvRxGuCT+ppyndj+mD1R77_6JyTb@mail.gmail.com
Whole thread Raw
In response to Re: contrib: auth_delay module  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Responses Re: contrib: auth_delay module
List pgsql-hackers
On Thu, Nov 25, 2010 at 1:18 AM, KaiGai Kohei <kaigai@ak.jp.nec.com> wrote:
> The attached patch is revised version.
>
> - Logging part within auth_delay was removed. This module now focuses on
>  injection of a few seconds delay on authentication failed.
> - Documentation parts were added like any other contrib modules.

Committed, with a few adjustments.  Per Fujii Masao's suggestion, I
changed sleep() to pg_usleep(); I also changed the GUC to be reckoned
in milliseconds rather than seconds.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: function(contants) evaluated for every row
Next
From: Nikhil Sontakke
Date:
Subject: Favorable i--)