From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | ps(at)ipggroup(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #15475: Views over CITEXT columns return no data |
Date: | 2018-10-31 23:00:04 |
Message-ID: | CAMkU=1yLn+JJy5Sc_H76yJ+9yFrrbuQ+L4PdcUPNMq-SOCxMTg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Wed, Oct 31, 2018 at 6:45 PM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:
> The following bug has been logged on the website:
>
> Bug reference: 15475
> Logged by: Paul Schaap
> Email address: ps(at)ipggroup(dot)com
> PostgreSQL version: 11.0
> Operating system: OSX 10.14 and Ubuntu 18.10
> Description:
>
> The steps to reproduce are:
> 1) Install CITEXT extension
> 2) Create a table with a CITEXT column
> 3) Create a view (not materialised) over the table
> 4) Query the view filtering on the CITEXT column
>
> No data gets returned when querying via the view, this works under
> Postgresql 10 but not 11.
>
>
There is no step here where you populate the table.
Add one, I can't reproduce this (on Ubuntu 16.04, so maybe that is
important).
create extension citext ;
create table j1 (x citext);
insert into j1 values ('abc');
create view j2 as select * from j1;
select * from j2 where x ='aBc';
<see a row>
What are your encoding, collation, and ctype?
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | Paul Schaap | 2018-10-31 23:06:51 | Re: BUG #15475: Views over CITEXT columns return no data |
Previous Message | PG Bug reporting form | 2018-10-31 22:44:12 | BUG #15475: Views over CITEXT columns return no data |