Re: Mistakes between an example and its description

From: Martín Marqués <martin(dot)marques(at)2ndquadrant(dot)com>
To: eugenewangfw(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org, PG Doc comments form <noreply(at)postgresql(dot)org>
Subject: Re: Mistakes between an example and its description
Date: 2018-05-09 23:59:15
Message-ID: 1fe2f647-508e-5fd0-738c-507d8a83dd44@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Peter Eisentraut 2018-05-10 02:43:43 updatable cursors and ORDER BY
Previous Message PG Doc comments form 2018-05-09 21:52:55 Mistakes between an example and its description