Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VUQV9-00029q-OD for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Oct 2013 00:22:43 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VUQV9-0005EN-6T for pgsql-bugs@arkaria.postgresql.org; Fri, 11 Oct 2013 00:22:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VUQV8-0005EG-8E for pgsql-bugs@postgresql.org; Fri, 11 Oct 2013 00:22:42 +0000 Received: from mout.gmx.net ([212.227.15.19]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VUQV6-0006aw-CR for pgsql-bugs@postgresql.org; Fri, 11 Oct 2013 00:22:41 +0000 Received: from [10.0.0.5] ([67.165.8.132]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Meg8W-1VAaIb0pVA-00ODT9 for ; Fri, 11 Oct 2013 02:22:33 +0200 Message-ID: <1381450950.5264.3.camel@vanquo.pezone.net> Subject: Re: BUG #8467: Slightly confusing pgcrypto example in docs From: Peter Eisentraut To: Bruce Momjian Cc: Richard Neill , Magnus Hagander , postgresql@richardneill.org, pgsql-bugs Date: Thu, 10 Oct 2013 20:22:30 -0400 In-Reply-To: <20131010231432.GA7092@momjian.us> References: <52421047.60301@richardneill.org> <20131002160044.GF21547@momjian.us> <5257089E.7090406@gmx.net> <20131010231432.GA7092@momjian.us> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-4+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:U/InGFGGFxoMzkf+PnTTdE/XZiJRlOy7IhAL/wxI78Bz9kwkDFo sEBxnI/RrWXSkOyrkpWfAvYeDpNU21TsEIfR5ROVz/Vr2ceN0nRhYLWTCDfzsyRaj4K6bcR 0+LmU0GX1mVMoJddN3MDBLNpP/7fx/ge8iqQdtEFG9TUTU6a2qOy9UKXTHnbmqMioWXzhzA FwSsNqF1innvseoe0wydQ== X-Pg-Spam-Score: -0.8 (/) 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 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 **** > > > 12 years > > > > > > > > > ! md5 > > > 2345086 > > > 1 day > > > 3 years > > > --- 358,364 ---- > > > 12 years > > > > > > > > > ! md5 hash > > Uh, the table already has a mention of md5 crypt above: > > crypt-md5 > > 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. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs