BUG #16675: VALUES not working for CITEXT

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: mcowne(at)webroot(dot)com
Subject: BUG #16675: VALUES not working for CITEXT
Date: 2020-10-16 10:10:21
Message-ID: 16675-16af849ca1746d6f@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16675
Logged by: Mark Cowne
Email address: mcowne(at)webroot(dot)com
PostgreSQL version: 11.7
Operating system: x86_64-pc-linux-gnu
Description:

-- Fourth SELECT doesn't return anything and should.

CREATE TABLE Test(Col CITEXT NOT NULL PRIMARY KEY);

INSERT INTO Test(Col) VALUES('ABC');

SELECT Col FROM Test WHERE Col IN ('abc');
SELECT Col FROM Test WHERE Col IN ('ABC');
SELECT Col FROM Test WHERE Col IN (VALUES('ABC'));
SELECT Col FROM Test WHERE Col IN (VALUES('abc'));

DROP TABLE Test;

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Pavel Stehule 2020-10-16 11:20:17 Re: BUG #16675: VALUES not working for CITEXT
Previous Message PG Bug reporting form 2020-10-16 09:56:25 BUG #16674: The idle connection get created automatically