Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WQRyv-0003R6-9g for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Mar 2014 01:41:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WQRyu-0003Sd-IP for pgsql-bugs@arkaria.postgresql.org; Thu, 20 Mar 2014 01:41:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WQRys-0003SU-Iv for pgsql-bugs@postgresql.org; Thu, 20 Mar 2014 01:41:14 +0000 Received: from mout.gmx.net ([212.227.15.18]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WQRyp-0000Kk-Cf for pgsql-bugs@postgresql.org; Thu, 20 Mar 2014 01:41:13 +0000 Received: from [10.0.0.9] ([67.165.8.132]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MTSKd-1Wa26N2NXT-00SRPu; Thu, 20 Mar 2014 02:41:08 +0100 Message-ID: <1395279666.30598.2.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: Wed, 19 Mar 2014 21:41:06 -0400 In-Reply-To: <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> <20140213203920.GE32126@momjian.us> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.5-2+b1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:mtkO8Azy30k26C367wo8vE1qNPGW2Wl8t8no575HCa8dMR/mpxF DveZgcncU8BLG7aegFBgIScH0Zs8xuHzUdytQZ95baBu6Cmv/tEw2obrgSXSQ64QQeJR79D uUHjwebHgSfJPPJJByLBSeud/ckhbRlUB4oziGTI92simorVnG3On0yHhHaYeuho9o0kNTs dAd/tYPnEP0gdQR2/j0bw== X-Pg-Spam-Score: -1.9 (-) 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, 2014-02-13 at 15:39 -0500, Bruce Momjian wrote: > 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. I think this entire line of patches should be reverted from the 9.3 branch, because it's not a bug fix, and arguably makes no sense. I also think that these patches should be reverted from the master branch, because they make no sense and don't actually address the bug report. Adding an output length column might make sense as an independent patch. -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs