Re: [HACKERS] Surjective functional indexes - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: [HACKERS] Surjective functional indexes
Date
Msg-id CAEepm=3B8HuoX9mR0qxedm1LPKAh8C_299zkL6+DD+y28KCsXw@mail.gmail.com
Whole thread Raw
In response to Re: [HACKERS] Surjective functional indexes  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Responses Re: [HACKERS] Surjective functional indexes
List pgsql-hackers
On Fri, Jun 9, 2017 at 8:08 PM, Konstantin Knizhnik
<k.knizhnik@postgrespro.ru> wrote:
> Attached please find rebased version of the patch.
> Now "projection" attribute is used instead of surjective/injective.

Hi Konstantin,

This still applies but it doesn't compile after commits 2cd70845 and
c6293249.  You need to change this:
     Form_pg_attribute att = RelationGetDescr(indexDesc)->attrs[i];

... to this:
     Form_pg_attribute att = TupleDescAttr(RelationGetDescr(indexDesc), i);

Thanks!

-- 
Thomas Munro
http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [HACKERS] adding the commit to a patch's thread
Next
From: Thomas Munro
Date:
Subject: Re: [HACKERS] [PROPOSAL] Temporal query processing with range types