On Mon, Jul 27, 2020 at 02:47:07PM +0000, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/12/tutorial-inheritance.html > Description: > > Hello Team, > > https://www.postgresql.org/docs/current/tutorial-inheritance.html > > There is the sentence in section 3.6: "State capitals have an extra column, > state, that shows their state." > I think it would be more correct to rewrite it as "Table capitals has > .....", since "capitals" is the table name in this context, but not the > state.
Agreed. Patch attached and applied through 9.5. -- Bruce Momjian <br...@momjian.us> https://momjian.us EnterpriseDB https://enterprisedb.com The usefulness of a cup is in its emptiness, Bruce Lee
diff --git a/doc/src/sgml/advanced.sgml b/doc/src/sgml/advanced.sgml new file mode 100644 index f6c4627..27b6d47 *** a/doc/src/sgml/advanced.sgml --- b/doc/src/sgml/advanced.sgml *************** CREATE TABLE capitals ( *** 628,635 **** <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</structfield>, that shows their state. In <productname>PostgreSQL</productname>, a table can inherit from zero or more other tables. </para> --- 628,636 ---- <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. The ! <classname>capitals</classname> table has ! an extra column, <structfield>state</structfield>, which shows their states. In <productname>PostgreSQL</productname>, a table can inherit from zero or more other tables. </para>