diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-02-15 13:56:38 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-02-15 13:57:00 -0500 |
commit | f68b52c9f9965aad1b0b9f9f8f6c5d08021ce810 (patch) | |
tree | f3428d33909f3a9f400bd8108e952324ce9af1e4 | |
parent | 0a2381d13f77c0f9f6aa30fa1a81e55aa58e7190 (diff) | |
download | postgresql-f68b52c9f9965aad1b0b9f9f8f6c5d08021ce810.tar.gz postgresql-f68b52c9f9965aad1b0b9f9f8f6c5d08021ce810.zip |
Doc: fix minor bug in CREATE TABLE example.
One example in create_table.sgml claimed to be showing table constraint
syntax, but it was really column constraint syntax due to the omission
of a comma. This is both wrong and confusing, so fix it in all
supported branches.
Per report from neil@postgrescompare.com.
Discussion: https://postgr.es/m/151871659877.1393.2431103178451978795@wrigleys.postgresql.org
-rw-r--r-- | doc/src/sgml/ref/create_table.sgml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/create_table.sgml b/doc/src/sgml/ref/create_table.sgml index bf2ad64d66e..b1eaa73cf90 100644 --- a/doc/src/sgml/ref/create_table.sgml +++ b/doc/src/sgml/ref/create_table.sgml @@ -1227,7 +1227,7 @@ CREATE TABLE distributors ( <programlisting> CREATE TABLE distributors ( did integer, - name varchar(40) + name varchar(40), CONSTRAINT con1 CHECK (did > 100 AND name <> '') ); </programlisting> |