Re: wrong output column title in example

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Erik Rijkers <er(at)xs4all(dot)nl>
Cc: nick(at)cleaton(dot)net, Pg Docs <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: wrong output column title in example
Date: 2020-06-25 07:18:37
Message-ID: 872CD6A0-07B2-4283-B623-E04D1C3B401F@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

> On 21 Jun 2020, at 21:07, Erik Rijkers <er(at)xs4all(dot)nl> wrote:
>
> On 2020-06-21 18:21, PG Doc comments form wrote:
>> The following documentation comment has been logged on the website:
>> Page: https://www.postgresql.org/docs/12/arrays.html
>> Description:
>> In the last code block in "8.15.5. Searching in Arrays", the column title in
>> the output is "array_positions" for both examples, but it should be
>> "array_position" for the second example.
>
> Here is a doc fix/patch.

While clearly in nitpicking territory, this isn't entirelty right either as the
number of dashes needs to be updated to reflect the attr name. Looking it, the
output also has incorrect indentation and lacks the "(1 row)" stanza which we
tend to include when showing psql output as <programlisting>. The attached
fixes these things too.

cheers ./daniel

Attachment Content-Type Size
array_position.diff application/octet-stream 600 bytes

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2020-06-25 14:10:10 Re: Please add a link to [BRIN] physical block ranges of a table
Previous Message Fujii Masao 2020-06-25 05:48:18 Re: The description for pg_replication_slots.restart_lsn