Bug in code sample in "8.15.5. Searching in Arrays"

2022-07-24 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/14/arrays.html Description: The section on array searching here: https://www.postgresql.org/docs/current/arrays.html#ARRAYS-SEARCHING ...says "In addition, you can find rows where the

Re: Bug in code sample in "8.15.5. Searching in Arrays"

2022-07-24 Thread Tom Lane
PG Doc comments form writes: > The section on array searching here: > https://www.postgresql.org/docs/current/arrays.html#ARRAYS-SEARCHING > ...says "In addition, you can find rows where the array has all values equal > to 1 with:" and gives the following code example: > SELECT *