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


On Tue, Jun 19, 2018 at 9:46 AM, Liudmila Mantrova <l.mantr...@postgrespro.ru <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/ <http://www.hagander.net/>
 Work: https://www.redpill-linpro.com/ <http://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
    <literal>{"  w"," wo","ord","wor","rd "}</literal>.
    In the second string, the ordered set of trigrams is
-   <literal>{"  t"," tw",two,"wo ","  w"," wo","wor","ord","rds", ds "}</literal>.
+   <literal>{"  t"," tw",two,"wo ","  w"," wo","wor","ord","rds","ds "}</literal>.
    The most similar extent of an ordered set of trigrams in the second string
    is <literal>{"  w"," wo","wor","ord"}</literal>, and the similarity is
    <literal>0.8</literal>.
@@ -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.
   </para>
 
   <table id="pgtrgm-op-table">

Reply via email to