doc: clarify "state" table reference in tutorial
authorBruce Momjian <[email protected]>
Wed, 5 Aug 2020 21:12:10 +0000 (17:12 -0400)
committerBruce Momjian <[email protected]>
Wed, 5 Aug 2020 21:12:10 +0000 (17:12 -0400)
Reported-by: Vyacheslav Shablistyy
Discussion: https://postgr.es/m/159586122762.680.1361378513036616007@wrigleys.postgresql.org

Backpatch-through: 9.5

doc/src/sgml/advanced.sgml

index a09921c1ba15e2ec7e63a774856b7c039dbd03e6..4db2db605d98beb07efa4cc3c9fdbee62672afbc 100644 (file)
@@ -628,8 +628,9 @@ CREATE TABLE capitals (
     <firstterm>parent</firstterm>, <classname>cities</classname>.  The
     type of the column <structfield>name</structfield> is
     <type>text</type>, a native <productname>PostgreSQL</productname>
-    type for variable length character strings.  State capitals have
-    an extra column, <structfield>state</>, that shows their state.  In
+    type for variable length character strings.  The
+    <classname>capitals</> table has
+    an extra column, <structfield>state</>, which shows their states.  In
     <productname>PostgreSQL</productname>, a table can inherit from
     zero or more other tables.
    </para>