From: Bruce Momjian <bruce@momjian.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: Richard Neill <rn214@richardneill.org>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: postgresql@richardneill.org
Cc: pgsql-bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #8467: Slightly confusing pgcrypto example in docs
Date: Thu, 13 Feb 2014 15:39:20 -0500
Message-ID: <20140213203920.GE32126@momjian.us> (raw)
In-Reply-To: <20131011004214.GD7092@momjian.us>
References: <E1VOFI4-0005nz-6r@wrigleys.postgresql.org>
<CABUevEwwUfmZjJz=0_=La8Aj1dNEGd_M3T2n+2KY_OAwWneP=g@mail.gmail.com>
<52421047.60301@richardneill.org>
<20131002160044.GF21547@momjian.us>
<5257089E.7090406@gmx.net>
<20131010231432.GA7092@momjian.us>
<1381450950.5264.3.camel@vanquo.pezone.net>
<20131011003232.GC7092@momjian.us>
<20131011004214.GD7092@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Thu, Oct 10, 2013 at 08:42:14PM -0400, Bruce Momjian wrote:
> On Thu, Oct 10, 2013 at 08:32:32PM -0400, Bruce Momjian wrote:
> > > > 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?
>
> I mean, will it be clear what is MD5 crypt and what is MD5 hash?
I have made the attached doc change, which places "(hash)" outside of
the literal text block. You are right the literal blocks should match
what is passed.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ Everyone has their own god. +
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugsAttachments:md5.diff (text/x-diff, 677B) downloaddiff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgmlnew file mode 100644index 31dba8c..2446879
*** a/doc/src/sgml/pgcrypto.sgml
--- b/doc/src/sgml/pgcrypto.sgml
*************** gen_salt(type text [, iter_count integer
*** 366,372 ****
<entry>4</entry>
</row>
<row>
! <entry><literal>md5 hash</></entry>
<entry>150085504</entry>
<entry>22.5 minutes</entry>
<entry>17 days</entry>
--- 366,372 ----
<entry>4</entry>
</row>
<row>
! <entry><literal>md5</> (hash)</entry>
<entry>150085504</entry>
<entry>22.5 minutes</entry>
<entry>17 days</entry>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, peter_e@gmx.net, rn214@richardneill.org, magnus@hagander.net, postgresql@richardneill.org
Subject: Re: BUG #8467: Slightly confusing pgcrypto example in docs
In-Reply-To: <20140213203920.GE32126@momjian.us>
References: <E1VOFI4-0005nz-6r@wrigleys.postgresql.org> <CABUevEwwUfmZjJz=0_=La8Aj1dNEGd_M3T2n+2KY_OAwWneP=g@mail.gmail.com> <52421047.60301@richardneill.org> <20131002160044.GF21547@momjian.us> <5257089E.7090406@gmx.net> <20131010231432.GA7092@momjian.us> <1381450950.5264.3.camel@vanquo.pezone.net> <20131011003232.GC7092@momjian.us> <20131011004214.GD7092@momjian.us> <20140213203920.GE32126@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox