Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1Syk-0003n8-EJ for pgsql-docs@arkaria.postgresql.org; Sat, 14 May 2016 06:23:10 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b1Syj-0007Zm-IY for pgsql-docs@arkaria.postgresql.org; Sat, 14 May 2016 06:23:09 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b1Syi-0007Zd-3R for pgsql-docs@postgresql.org; Sat, 14 May 2016 06:23:08 +0000 Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b1Syf-0002yl-6O for pgsql-docs@postgresql.org; Sat, 14 May 2016 06:23:07 +0000 Received: by mail-lb0-x232.google.com with SMTP id h1so33290164lbj.3 for ; Fri, 13 May 2016 23:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to; bh=IXDZh0IaFSd7Y7S1Y6aaGabs76V9iHkQymiTD3xXjFo=; b=aLBL0fUzdOgg5OMZkP2NyDS13aWFTRkYkwQaCJ7mJ0j+rSroFetq7ljzmfhZhCteBv KC36lnpy1N+UVEU2pn3fFoUN3CuQHKOLnWGz3CprsSY4zM2Rer9SQukO3VZMbivQ0HCy vjwBvxytytgBfxX+OKiSjgaBLFTPTe0Dk4g3wgq4LPUkt9kQvjrbD7Rkvvp4sMzRjJ2n HC7s63SRxpxE+GDAUAw2oPfzuQjZvJteWTQYU0tZP9PVAK4g4l8gE3nKkl/leheO04iI fzEMOFtm3YBOiRQcrf4ONRbGXUGyWv1ShYL8/APn3DhssymSoJrguO0gdsyKiwgzr3e8 bdRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=IXDZh0IaFSd7Y7S1Y6aaGabs76V9iHkQymiTD3xXjFo=; b=VZqfDrYD/rySTYLaPL/Gr7b7Z3el/CwLkEJ/dW0UlPPbd+Zqg4mCm4Zo9TLeHzOtmf lJfKm9RJBtQI22bBbpxCpu01S+1u6ZOxOQobGCt9R0bG0EKKTsi3o+bCKUJS55duszYh Dj09R78ynl/LfRc7Dj0Q9VcV3bP6XnvvrlrTjXvL/kLTTVejRja9q+5KJUNscygQd1Hx kTte7Z+ffn8RGiLmsH6v6mThgRuKdHQ0tyVOwDQ57KD6hQjpUPGNUbz6R4RViFz9DldF cczHzFA6c9FNN3b/WebpPtBhc59e633HAM2ikd7jyNXipVum1+kP/K2x2aJsHaW2B+To f9Zw== X-Gm-Message-State: AOPr4FWQlvuqDYGDkVQKE45ANPJQCXc3nGjg40q+oH5iwEx2leRc6i/djkglE+ruJRzgYw== X-Received: by 10.112.214.235 with SMTP id od11mr7930504lbc.21.1463206984357; Fri, 13 May 2016 23:23:04 -0700 (PDT) Received: from [1.0.0.7] ([109.196.196.138]) by smtp.gmail.com with ESMTPSA id l21sm3538093lfi.37.2016.05.13.23.23.03 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 May 2016 23:23:03 -0700 (PDT) Subject: Re: Some minor error fixes To: Peter Eisentraut , "pgsql-docs@postgresql.org" References: <571470D8.50907@gmail.com> <88f42cdc-48fe-aeb9-60e7-e27587621a55@2ndquadrant.com> <572A09ED.8050204@gmail.com> <572A47DB.60304@gmail.com> <3b2f1642-7d31-f0e8-4ef1-9205d6fa5383@2ndquadrant.com> From: Alexander Law Message-ID: <5736C446.8080601@gmail.com> Date: Sat, 14 May 2016 09:23:02 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <3b2f1642-7d31-f0e8-4ef1-9205d6fa5383@2ndquadrant.com> Content-Type: multipart/alternative; boundary="------------010507060002040402060500" X-Pg-Spam-Score: 0.6 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org This is a multi-part message in MIME format. --------------010507060002040402060500 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello Peter, Thank you! I see that M is just an alias for MUMPS. I stumbled upon the inconsistency between B015, B115, B125, M022 on the one side and M015 on the other. Anyway, it's definitely not a bug in our docs. Please look at the following errors/fixes. Patch #2 is for consistency on [1]. Bug #6 is the most interesting. Table "Table F-17. Hash Algorithm Speeds" on [2] contains following row: /Algorithm | Hashes/sec// //crypt-bf/5 | 13504/ And there is a following note below the table: /For reference: john -test shows 213 loops/sec for crypt-bf/5. (The very small difference in results is in accordance with the fact that the crypt-bf implementation in pgcrypto is the same one used in John the Ripper.)/ It seems that the number 213 is out of sync with the table contents. ("Very small difference" was indeed present before [3]. See [4].) As I can't reproduce exact numbers on my machine, I suggest to slightly increase the number that was specified in the table (+2 as before). [1] http://www.postgresql.org/docs/current/static/reference-server.html [2] http://www.postgresql.org/docs/current/static/pgcrypto.html#PGCRYPTO-HASH-SPEED-TABLE [3] https://github.com/postgres/postgres/commit/d6464fdc0a591662e5e5ee1b0303932e89cb027c [4] http://www.postgresql.org/docs/9.1/static/pgcrypto.html#PGCRYPTO-HASH-SPEED-TABLE Best regards, Alexander 14.05.2016 04:41, Peter Eisentraut пишет: > On 5/4/16 3:04 PM, Alexander Law wrote: >> Thank you! >> I have some more errors written down, maybe they are worth fixing too. >> >> Second patch is for consistency in [1]. >> (I think XMLValidate could be aligned with "IS VALID predicate") >> Third patch is for language name teared down in [1]. >> It seems that root of this typo is as far as in SQL Standard (see M015 >> description in [2]), but IMO it should be fixed anyway. > > I have fixed #1 and #2 but left #3 as it is in the SQL standard. (I > think M and MUMPS are the same thing.) > --------------010507060002040402060500 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
Hello Peter,

Thank you!
I see that M is just an alias for MUMPS. I stumbled upon the inconsistency between B015, B115, B125, M022 on the one side and M015 on the other. Anyway, it's definitely not a bug in our docs.

Please look at the following errors/fixes.

Patch #2 is for consistency on [1].
Bug #6 is the most interesting. Table "Table F-17. Hash Algorithm Speeds" on [2] contains following row:
Algorithm | Hashes/sec
crypt-bf/5 | 13504
And there is a following note below the table:
For reference: john -test shows 213 loops/sec for crypt-bf/5. (The very small difference in results is in accordance with the fact that the crypt-bf implementation in pgcrypto is the same one used in John the Ripper.)
It seems that the number 213 is out of sync with the table contents. ("Very small difference" was indeed present before [3]. See [4].)
As I can't reproduce exact numbers on my machine, I suggest to slightly increase the number that was specified in the table (+2 as before).

[1] http://www.postgresql.org/docs/current/static/reference-server.html
[2] http://www.postgresql.org/docs/current/static/pgcrypto.html#PGCRYPTO-HASH-SPEED-TABLE
[3] https://github.com/postgres/postgres/commit/d6464fdc0a591662e5e5ee1b0303932e89cb027c
[4] http://www.postgresql.org/docs/9.1/static/pgcrypto.html#PGCRYPTO-HASH-SPEED-TABLE

Best regards,
Alexander


14.05.2016 04:41, Peter Eisentraut пишет:
On 5/4/16 3:04 PM, Alexander Law wrote:
Thank you!
I have some more errors written down, maybe they are worth fixing too.

Second patch is for consistency in [1].
(I think XMLValidate could be aligned with "IS VALID predicate")
Third patch is for language name teared down in [1].
It seems that root of this typo is as far as in SQL Standard (see M015
description in [2]), but IMO it should be fixed anyway.

I have fixed #1 and #2 but left #3 as it is in the SQL standard.  (I think M and MUMPS are the same thing.)


--------------010507060002040402060500--