Re: Check for interrupts in bf and xdes crypt() - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Check for interrupts in bf and xdes crypt()
Date
Msg-id 20151227160520.GD58441@alvherre.pgsql
Whole thread Raw
In response to Re: Check for interrupts in bf and xdes crypt()  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-hackers
Jeff Janes wrote:
> On Tue, Dec 15, 2015 at 12:35 AM, Andreas Karlsson <andreas@proxel.se> wrote:

> > Here is a patch which makes it possible to cancel a query which runs the
> > crypt() function with the bf or xdes hashing algorithm, e.g. crypt('foo',
> > gen_salt('bf', 13)). The md5 algorithm does not run for multiple rounds so
> > there is no reason to patch it.

> Looks good to me.  Applies, builds, passes make check, does what it
> says and says what it does.  No need for docs, no noticeable
> performance impact.
> 
> I've marked it ready for committer.  Also recommend for back-patching.

Pushed, thanks.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Jeff Janes
Date:
Subject: Avoid endless futile table locks in vacuuming.
Next
From: Grzegorz Sampolski
Date:
Subject: Re: pam auth - add rhost item