Re: BUG #14693: create materialized view forces btrim

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: isb0459(at)gmail(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14693: create materialized view forces btrim
Date: 2017-06-06 20:46:52
Message-ID: 32464.1496782012@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

isb0459(at)gmail(dot)com writes:
> I am trying to create a materialized view. I have a working SQL query that
> uses this expression: coalesce(trim(foo), bar). When I use that in the
> definition for create materialized view, Postgres force replaces the trim()
> call into a btrim() and breaks the query result.

trim() *is* btrim(). Whatever's going on here, you've leapt to an
incorrect conclusion about the cause. How about showing us a
self-contained example of your problem?

https://wiki.postgresql.org/wiki/Guide_to_reporting_problems

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2017-06-06 20:51:46 Re: BUG #14693: create materialized view forces btrim
Previous Message isb0459 2017-06-06 20:25:25 BUG #14693: create materialized view forces btrim