citext_1.out, citext.out confusing comment

From: jian he <jian(dot)universality(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: citext_1.out, citext.out confusing comment
Date: 2025-12-09 05:07:29
Message-ID: CACJufxEwNvWyvjJ4WxuzihnW6RrQcUUDpPrfgiyr2k6bc9HMQQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

hi.

While working on CAST DEFAULT, I found out citext_1.out, citext.out comments are
confusing.

contrib/citext/expected/citext_1.out:
SELECT 'a'::citext >= 'B'::text AS t; -- text wins.
t
---
f
(1 row)

contrib/citext/expected/citext.out:
SELECT 'a'::citext >= 'B'::text AS t; -- text wins.
t
---
t
(1 row)

same input, return different result, The comment "-- text wins."
seems confusing.
(this happens in other places within citext.out, citext_1.out).

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirk Wolak 2025-12-09 05:08:58 Re: [Patch] Add WHERE clause support to REFRESH MATERIALIZED VIEW
Previous Message Michael Paquier 2025-12-09 04:45:17 Re: [Proposal] Adding callback support for custom statistics kinds