Remove word "singleton" out of jsonpath docs
authorAlexander Korotkov <akorotkov@postgresql.org>
Mon, 29 Apr 2019 22:12:05 +0000 (01:12 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Tue, 7 May 2019 22:02:59 +0000 (01:02 +0300)
Word "singleton" is hard for user understanding, especially taking into account
there is only one place it's used in the docs and there is even no definition.
Use more evident wording instead.

Discussion: https://postgr.es/m/23737.1556550645%40sss.pgh.pa.us

doc/src/sgml/func.sgml

index d7517660044a7b756470f4c502d2c35d8bb78cd5..b9a6f5b9ca4e3a6a918dd9056a6b0ffffd7fe978 100644 (file)
@@ -11721,7 +11721,7 @@ table2-mapping
     converting its elements into an SQL/JSON sequence before performing
     this operation. Besides, comparison operators automatically unwrap their
     operands in the lax mode, so you can compare SQL/JSON arrays
-    out-of-the-box. Arrays of size 1 are interchangeable with a singleton.
+    out-of-the-box. An array of size 1 is considered equal to its sole element.
     Automatic unwrapping is not performed only when:
     <itemizedlist>
      <listitem>