Possible bug in 9.3.17 using operator <>

Started by Nick Droover 8 years ago2 messages
#1Nick Dro
postgresql@walla.co.il

<div dir='rtl'><div dir="ltr">The operator &lt;&gt; seems to not work properly comparing citext types in triggers function.</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr"><a href="https://stackoverflow.com/questions/45441840/posgresql-9-3-operator-doesnt-give-logical-result&quot;&gt;https://stackoverflow.com/questions/45441840/posgresql-9-3-operator-doesnt-give-logical-result&lt;/a&gt;&lt;/div&gt;
<div dir="ltr">&nbsp;</div>
<div dir="ltr">Can someone figure out what is the problem? This seems like a bug.</div></div>

#2David G. Johnston
david.g.johnston@gmail.com
In reply to: Nick Dro (#1)
Re: Possible bug in 9.3.17 using operator <>

On Tue, Aug 1, 2017 at 8:39 AM, Nick Dro <postgresql@walla.co.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.