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

From Martín Marqués
Subject Re: Mistakes between an example and its description
Date
Msg-id 1fe2f647-508e-5fd0-738c-507d8a83dd44@2ndquadrant.com
Whole thread Raw
In response to Mistakes between an example and its description  (PG Doc comments form <noreply@postgresql.org>)
Responses Re: Mistakes between an example and its description
List pgsql-docs
El 09/05/18 a las 18:52, PG Doc comments form escribió:
> 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);

It's not exactly a unique constraint, but it is a unique index, and it
should be mentioned in the title of the documentation.

-- 
Martín Marqués                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


pgsql-docs by date:

Previous
From: PG Doc comments form
Date:
Subject: Mistakes between an example and its description
Next
From: Peter Eisentraut
Date:
Subject: updatable cursors and ORDER BY