Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WE34F-0002M1-5E for pgsql-bugs@arkaria.postgresql.org; Thu, 13 Feb 2014 20:39:31 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WE34E-000108-Kt for pgsql-bugs@arkaria.postgresql.org; Thu, 13 Feb 2014 20:39:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WE34D-0000yc-5o for pgsql-bugs@postgresql.org; Thu, 13 Feb 2014 20:39:29 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WE34A-0000fs-Be for pgsql-bugs@postgresql.org; Thu, 13 Feb 2014 20:39:28 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1WE344-0002ui-DF; Thu, 13 Feb 2014 15:39:20 -0500 Date: Thu, 13 Feb 2014 15:39:20 -0500 From: Bruce Momjian To: Peter Eisentraut Cc: Richard Neill , Magnus Hagander , postgresql@richardneill.org, pgsql-bugs Subject: Re: BUG #8467: Slightly confusing pgcrypto example in docs Message-ID: <20140213203920.GE32126@momjian.us> References: <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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline In-Reply-To: <20131011004214.GD7092@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. + --/NkBOFFp2J2Af1nK Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="md5.diff" diff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgml new file mode 100644 index 31dba8c..2446879 *** a/doc/src/sgml/pgcrypto.sgml --- b/doc/src/sgml/pgcrypto.sgml *************** gen_salt(type text [, iter_count integer *** 366,372 **** 4 ! md5 hash 150085504 22.5 minutes 17 days --- 366,372 ---- 4 ! md5 (hash) 150085504 22.5 minutes 17 days --/NkBOFFp2J2Af1nK Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs --/NkBOFFp2J2Af1nK--