Re: Expression indexes ignore typmod of expression

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

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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2014-04-25 21:26:22 Re: [GENERAL] aggregate returning anyarray and 'cannot determine result data type'
Previous Message Andres Freund 2014-04-25 21:17:10 Re: Expression indexes ignore typmod of expression