Mistakes between an example and its description - Mailing list pgsql-docs

From PG Doc comments form
Subject Mistakes between an example and its description
Date
Msg-id 152590277563.1478.16500926150564144257@wrigleys.postgresql.org
Whole thread Raw
Responses Re: Mistakes between an example and its description  (Martín Marqués <martin.marques@2ndquadrant.com>)
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/sql-createindex.html
Description:

In Postgres Doc: Index
page(https://www.postgresql.org/docs/9.6/static/sql-createindex.html), there
is an mismatch between an example description and an example SQL statement.


The description is below :
To create a B-tree index on the column title in the table films:

Meanwhile, the example provided is an UNIQUE constrain.
CREATE UNIQUE INDEX title_idx ON films (title);

pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: \i and \ir separated by \if now...
Next
From: Martín Marqués
Date:
Subject: Re: Mistakes between an example and its description