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.

Erik Rijkers
--- doc/src/sgml/array.sgml.orig	2020-06-21 21:02:54.254543177 +0200
+++ doc/src/sgml/array.sgml	2020-06-21 21:03:15.386894475 +0200
@@ -669,7 +669,7 @@
 
 <programlisting>
 SELECT array_position(ARRAY['sun','mon','tue','wed','thu','fri','sat'], 'mon');
- array_positions
+ array_position
 -----------------
  2
 

Reply via email to