Re: Expression indexes ignore typmod of expression

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: Expression indexes ignore typmod of expression
Date: 2014-04-25 21:29:48
Message-ID: 20140425212948.GE12174@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2014-04-25 17:19:00 -0400, Tom Lane wrote:
> Andres Freund <andres(at)2ndquadrant(dot)com> writes:
> > On 2014-04-25 17:05:26 -0400, Tom Lane wrote:
> >> I think this is just a hangover from
> >> before we paid much attention to expression typmods at all, and
> >> propose the attached patch.
>
> > Any chance it could cause problems with stored trees being different
> > from newly generated ones due to it? I.e. is it something that can be
> > done without a catversion bump?
>
> Not sure. I wasn't proposing this as a back-patch, just 9.4 only.

Then a clear +1 for me. It's rather confusing to see bpchar, a type very
rarely used explicitly in explain output.

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2014-04-25 22:02:02 Re: slow startup due to LWLockAssign() spinlock
Previous Message Tom Lane 2014-04-25 21:26:22 Re: [GENERAL] aggregate returning anyarray and 'cannot determine result data type'