Re: Possible bug in 9.3.17 using operator <>

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Nick Dro <postgresql(at)walla(dot)co(dot)il>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Possible bug in 9.3.17 using operator <>
Date: 2017-08-01 15:59:47
Message-ID: CAKFQuwbsRCcK-i5mtqkfAhzMOm8s7fC-XZmp2aKiePt2X6K0vg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 1, 2017 at 8:39 AM, Nick Dro <postgresql(at)walla(dot)co(dot)il> wrote:

> The operator <> seems to not work properly comparing citext types in
> triggers function.
>
> https://stackoverflow.com/questions/45441840/posgresql-
> 9-3-operator-doesnt-give-logical-result
>
> Can someone figure out what is the problem? This seems like a bug.
>

Um, 'jack' and 'Jack' and indeed equal when compared case-insensitively.
You've asked whether they are unequal. Since they are equal the answer to
your question is "no" (false). That is the answer you were given.

David J.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tels 2017-08-01 16:24:04 Re: PL_stashcache, or, what's our minimum Perl version?
Previous Message Tom Lane 2017-08-01 15:39:43 Re: [GENERAL] Not able to create collation on Windows