Re: BUG #8467: Slightly confusing pgcrypto example in docs

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: Richard Neill <rn214(at)richardneill(dot)org>, Magnus Hagander <magnus(at)hagander(dot)net>, postgresql(at)richardneill(dot)org, pgsql-bugs <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #8467: Slightly confusing pgcrypto example in docs
Date: 2013-10-11 00:32:32
Message-ID: 20131011003232.GC7092@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Thu, Oct 10, 2013 at 08:22:30PM -0400, Peter Eisentraut wrote:
> On Thu, 2013-10-10 at 19:14 -0400, Bruce Momjian wrote:
> > > The changes shown below are incorrect, I think.
> > >
> > >
> > > On 10/2/13 12:00 PM, Bruce Momjian wrote:
> > > > *************** gen_salt(type text [, iter_count integer
> > > > *** 353,359 ****
> > > > <entry>12 years</entry>
> > > > </row>
> > > > <row>
> > > > ! <entry><literal>md5</></entry>
> > > > <entry>2345086</entry>
> > > > <entry>1 day</entry>
> > > > <entry>3 years</entry>
> > > > --- 358,364 ----
> > > > <entry>12 years</entry>
> > > > </row>
> > > > <row>
> > > > ! <entry><literal>md5 hash</></entry>
> >
> > Uh, the table already has a mention of md5 crypt above:
> >
> > <entry><literal>crypt-md5</></entry>
> >
> > How can the later entry not be MD5 hash?
>
> Because what you pass to the functions is 'md5', not 'md5 hash', which
> is what the new text appears to indicate.

So if we revert, will it still be clear what is MD5 and what is MD5 hash?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2013-10-11 00:42:14 Re: BUG #8467: Slightly confusing pgcrypto example in docs
Previous Message Peter Eisentraut 2013-10-11 00:22:30 Re: BUG #8467: Slightly confusing pgcrypto example in docs