Re: Check query

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: "y(dot)saburov(at)gmail(dot)com" <y(dot)saburov(at)gmail(dot)com>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Check query
Date: 2026-07-07 00:52:39
Message-ID: CAHGQGwG5_1Vn7TqreKfrWB8Yx01AqyxJxPoG1HvWMGAK0etZQw@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Sun, Jun 28, 2026 at 12:51 AM David G. Johnston
<david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
>
> On Friday, June 26, 2026, PG Doc comments form <noreply(at)postgresql(dot)org> wrote:
>>
>> The following documentation comment has been logged on the website:
>>
>> Page: https://www.postgresql.org/docs/18/rules-views.html
>> Description:
>>
>> ...
>> WHERE shoe_ready.total_avail > 2; ??? (maybe WHERE shoe_ready.total_avail
>> >= 2;)
>
>
> Yes, the lack of an equal sign there is a typo.

Yes. Very old commit dcb00495236 seems to have accidentally changed
the condition to > 2 while rewriting the example to use SQL operator
notation.

The attached patch changes it from > 2 to >= 2.
Barring any objections, I'll backpatch it to all supported branches.

Regards,

--
Fujii Masao

Attachment Content-Type Size
v1-0001-doc-Fix-typo-in-rule-system-view-example.patch application/octet-stream 1.3 KB

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message jian he 2026-07-07 08:48:36 createfunction reference createprocedure
Previous Message surya poondla 2026-07-06 23:52:10 Re: doc: Clarify ANALYZE VERBOSE output