Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b1SzT-0003oN-RG for pgsql-docs@arkaria.postgresql.org; Sat, 14 May 2016 06:23:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b1SzT-0007z2-EX for pgsql-docs@arkaria.postgresql.org; Sat, 14 May 2016 06:23:55 +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 1b1SzS-0007yw-Vd for pgsql-docs@postgresql.org; Sat, 14 May 2016 06:23:55 +0000 Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b1SzP-0002z4-Pt for pgsql-docs@postgresql.org; Sat, 14 May 2016 06:23:54 +0000 Received: by mail-lf0-x22e.google.com with SMTP id y84so97840529lfc.0 for ; Fri, 13 May 2016 23:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:subject:to:references:message-id:date:user-agent:mime-version :in-reply-to; bh=ElzAqElihbiPGbEfm2ASPiZ4o8p6H7Y3WOYID41spuI=; b=cM708QKc2fi1NkWc4MrBZW+wkMAwOSQs6QPTmEtmDXQFYzKqxPx1xpTSfR7vXsl+dL W9EyW7PxD1U7bROranwVTpJxe2z3t+4O2aqFFyDVXadK8e/1zjQFJNQVK9KfV7YXiQtr VLT9+LoV/hPMN8isNG1OqZgY0/c6nWghWD+tLf/44snzA/8p9MFFV41cFcaARt7IjzK3 9nIMZyQ1kS2tW39KzqugrSY8fzkLN2N4gF3mmpOw/fVYALVYzgV+aFfCZW9dJ9qzP5hK xmkwGZGAVqJ4goKAyRFAM5LeT3ZgWV1TgC7i43A+UIVvOu1FfEyZwMSRYzXzJlJdh9XN SFUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:subject:to:references:message-id:date :user-agent:mime-version:in-reply-to; bh=ElzAqElihbiPGbEfm2ASPiZ4o8p6H7Y3WOYID41spuI=; b=D3hR94o7pRgEYkmMCpGDVx4Bu24oUoKgTU6t90ZNPTIWZ70wMFokvPBFNZCsp0cFqY mrBYFHibzZvQLn4JpWWVjBa3xcuiCa0WV3w8Jt9sWsX/6hnTBLwlqBCr/OtnYoEHCIBy /R86lGSQpFq8qOkMGkyXkfl/tUXnjr3sT8+r+QzeYJi1VwD/rgrVZIPyY8zpHHKq8ibu Qf2H9wnQ/vB8ZiPBYbpmS7QqHedpjRQCAJ+0/jfTrmCsheJvQdJZhh6Ci7hJVwf5znri a/BCSPrm8cH3u9AsdUOY18FqvC59v+mJFAeNWPvIxbRIC29SwigSMlBLiOmE+2jKQANb Rjjg== X-Gm-Message-State: AOPr4FWqScysgAw+sSCS99xwXZckxuNIbpLhXAiTIm4g46pyLukeJ5pAeGu/EWtjR5DLHg== X-Received: by 10.25.161.141 with SMTP id k135mr8022471lfe.101.1463207031425; Fri, 13 May 2016 23:23:51 -0700 (PDT) Received: from [1.0.0.7] ([109.196.196.137]) by smtp.gmail.com with ESMTPSA id l10sm3501052lbw.38.2016.05.13.23.23.50 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 13 May 2016 23:23:50 -0700 (PDT) From: Alexander Law 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> Message-ID: <5736C475.3030405@gmail.com> Date: Sat, 14 May 2016 09:23:49 +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/mixed; boundary="------------000103000206070908040401" X-Pg-Spam-Score: 1.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. --------------000103000206070908040401 Content-Type: multipart/alternative; boundary="------------090806020803060103070402" --------------090806020803060103070402 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.) > --------------090806020803060103070402 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.)


--------------090806020803060103070402-- --------------000103000206070908040401 Content-Type: text/x-patch; name="1-pgtesttiming.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="1-pgtesttiming.patch" diff --git a/doc/src/sgml/ref/pgtesttiming.sgml b/doc/src/sgml/ref/pgtesttiming.sgml index d5e231f..8490f83 100644 --- a/doc/src/sgml/ref/pgtesttiming.sgml +++ b/doc/src/sgml/ref/pgtesttiming.sgml @@ -170,7 +170,7 @@ Histogram of timing durations: In this configuration, the sample EXPLAIN ANALYZE above - takes 115.9 ms. That's 1061 nsec of timing overhead, again a small multiple + takes 115.9 ms. That's 106.1 nsec of timing overhead, again a small multiple of what's measured directly by this utility. That much timing overhead means the actual query itself is only taking a tiny fraction of the accounted for time, most of it is being consumed in overhead instead. In --------------000103000206070908040401 Content-Type: text/x-patch; name="2-pg_xlogdump.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="2-pg_xlogdump.patch" diff --git a/doc/src/sgml/ref/pg_xlogdump.sgml b/doc/src/sgml/ref/pg_xlogdump.sgml index 445da93..296f1ac 100644 --- a/doc/src/sgml/ref/pg_xlogdump.sgml +++ b/doc/src/sgml/ref/pg_xlogdump.sgml @@ -16,7 +16,7 @@ PostgreSQL documentation pg_xlogdump - Display a human-readable rendering of the write-ahead log of a PostgreSQL database cluster + display a human-readable rendering of the write-ahead log of a PostgreSQL database cluster --------------000103000206070908040401 Content-Type: text/x-patch; name="3-sepgpsql.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="3-sepgpsql.patch" diff --git a/doc/src/sgml/sepgsql.sgml b/doc/src/sgml/sepgsql.sgml index a012094..6f80933 100644 --- a/doc/src/sgml/sepgsql.sgml +++ b/doc/src/sgml/sepgsql.sgml @@ -675,13 +675,13 @@ ERROR: SELinux: security policy violation sepgsql_mcstrans_in(text) returns text - Translates the given qualifies MLS/MCS range into raw format if + Translates the given qualified MLS/MCS range into raw format if the mcstrans daemon is running. sepgsql_mcstrans_out(text) returns text - Translates the given raw MCS/MCS range into qualified format if + Translates the given raw MLS/MCS range into qualified format if the mcstrans daemon is running. --------------000103000206070908040401 Content-Type: text/x-patch; name="4-install-windows.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="4-install-windows.patch" diff --git a/doc/src/sgml/install-windows.sgml b/doc/src/sgml/install-windows.sgml index 4e92cc9..8cd189c 100644 --- a/doc/src/sgml/install-windows.sgml +++ b/doc/src/sgml/install-windows.sgml @@ -84,7 +84,7 @@ Both 32-bit and 64-bit builds are possible with the Microsoft Compiler suite. - 32-bit PostgreSQL buils are possible with + 32-bit PostgreSQL builds are possible with Visual Studio 2005 to Visual Studio 2015 (including Express editions), as well as standalone Windows SDK releases 6.0 to 7.1. --------------000103000206070908040401 Content-Type: text/x-patch; name="5-btree-gist.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="5-btree-gist.patch" diff --git a/doc/src/sgml/btree-gist.sgml b/doc/src/sgml/btree-gist.sgml index f4afc09..e8a5622 100644 --- a/doc/src/sgml/btree-gist.sgml +++ b/doc/src/sgml/btree-gist.sgml @@ -98,7 +98,7 @@ INSERT 0 1 Authors - Teodor Sigaev (teodor@stack.net) , + Teodor Sigaev (teodor@stack.net), Oleg Bartunov (oleg@sai.msu.su), and Janko Richter (jankorichter@yahoo.de). See --------------000103000206070908040401 Content-Type: text/x-patch; name="6-pgcrypto.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="6-pgcrypto.patch" diff --git a/doc/src/sgml/pgcrypto.sgml b/doc/src/sgml/pgcrypto.sgml index a3b987a..010c174 100644 --- a/doc/src/sgml/pgcrypto.sgml +++ b/doc/src/sgml/pgcrypto.sgml @@ -407,7 +407,7 @@ gen_salt(type text [, iter_count integer ]) returns text crypt-bf numbers are taken using a simple program that loops over 1000 8-character passwords. That way I can show the speed with different numbers of iterations. For reference: john - -test shows 213 loops/sec for crypt-bf/5. + -test shows 13506 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 --------------000103000206070908040401 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs --------------000103000206070908040401--