Re: Misc typos in documentation

2018-08-16 Thread Liudmila Mantrova


On 06/20/2018 05:04 PM, Magnus Hagander wrote:



On Tue, Jun 19, 2018 at 9:46 AM, Liudmila Mantrova 
mailto:l.mantr...@postgrespro.ru>> wrote:


Hi,

Please consider these small patches that fix a couple of typos in
documentation.

I have split them in two just in case rn-typos.patch conflicts
with any current work on release-11.sgml, which seems to be going
on in more than one thread. I'll appreciate your feedback if it
should have been done differently.


Hi!

These all look good to me. Thanks, applied!

--
 Magnus Hagander
 Me: https://www.hagander.net/ 
 Work: https://www.redpill-linpro.com/ 


I have bumped into a couple of similar typos in 9.6 and 10 - the patch 
based on REL9_6_STABLE is attached.


--
Liudmila Mantrova
Technical writer at Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

diff --git a/doc/src/sgml/pgtrgm.sgml b/doc/src/sgml/pgtrgm.sgml
index 350da77..1de337a 100644
--- a/doc/src/sgml/pgtrgm.sgml
+++ b/doc/src/sgml/pgtrgm.sgml
@@ -143,7 +143,7 @@
In the first string, the set of trigrams is
{"  w"," wo","ord","wor","rd "}.
In the second string, the ordered set of trigrams is
-   {"  t"," tw",two,"wo ","  w"," wo","wor","ord","rds", ds "}.
+   {"  t"," tw",two,"wo ","  w"," wo","wor","ord","rds","ds "}.
The most similar extent of an ordered set of trigrams in the second string
is {"  w"," wo","wor","ord"}, and the similarity is
0.8.
@@ -154,7 +154,7 @@
greatest similarity between the first string and any substring of the second
string.  However, this function does not add padding to the boundaries of
the extent.  Thus, the number of additional characters present in the
-   second string is not considered, except for the mismatched word boundry.
+   second string is not considered, except for the mismatched word boundaries.
   
 
   


typo in parallel safety doc

2018-08-16 Thread Justin Pryzby
https://www.postgresql.org/docs/10/static/parallel-safety.html
|Even for simple functions where it conceivably be done, we do not try, since 
this would be expensive and error-prone.

should say:
"where it COULD conceivably"



Re: typo in parallel safety doc

2018-08-16 Thread Thomas Munro
On Fri, Aug 17, 2018 at 7:54 AM, Justin Pryzby  wrote:
> https://www.postgresql.org/docs/10/static/parallel-safety.html
> |Even for simple functions where it conceivably be done, we do not try, since 
> this would be expensive and error-prone.
>
> should say:
> "where it COULD conceivably"

Right, thanks.  Will fix.

-- 
Thomas Munro
http://www.enterprisedb.com



Re: typo in parallel safety doc

2018-08-16 Thread Justin Pryzby
On Fri, Aug 17, 2018 at 11:39:27AM +1200, Thomas Munro wrote:
> On Fri, Aug 17, 2018 at 7:54 AM, Justin Pryzby  wrote:
> > https://www.postgresql.org/docs/10/static/parallel-safety.html
> > |Even for simple functions where it conceivably be done, we do not try, 
> > since this would be expensive and error-prone.
> >
> > should say:
> > "where it COULD conceivably"
> 
> Right, thanks.  Will fix.

I dearly hope this was intentional ;)

commit 96e98fa2606b2b12805db99196f468152312af14
Author: Thomas Munro 
Date:   Fri Aug 17 11:32:55 2018 +1200

Proof-reading for documentation.

Somebody accidentally a word.  Back-patch to 9.6.

Reported-by: Justin Pryzby
Discussion: https://postgr.es/m/20180816195431.GA23707%40telsasoft.com

Thanks,
Justin



Re: typo in parallel safety doc

2018-08-16 Thread Thomas Munro
On Fri, Aug 17, 2018 at 1:12 PM, Justin Pryzby  wrote:
> On Fri, Aug 17, 2018 at 11:39:27AM +1200, Thomas Munro wrote:
>> On Fri, Aug 17, 2018 at 7:54 AM, Justin Pryzby  wrote:
>> > https://www.postgresql.org/docs/10/static/parallel-safety.html
>> > |Even for simple functions where it conceivably be done, we do not try, 
>> > since this would be expensive and error-prone.
>> >
>> > should say:
>> > "where it COULD conceivably"
>>
>> Right, thanks.  Will fix.
>
> I dearly hope this was intentional ;)
>
> commit 96e98fa2606b2b12805db99196f468152312af14
> Author: Thomas Munro 
> Date:   Fri Aug 17 11:32:55 2018 +1200
>
> Proof-reading for documentation.
>
> Somebody accidentally a word.  Back-patch to 9.6.
>
> Reported-by: Justin Pryzby
> Discussion: https://postgr.es/m/20180816195431.GA23707%40telsasoft.com

It is not the most advanced form of humour, but yes :-)

-- 
Thomas Munro
http://www.enterprisedb.com