Re: [HACKERS] Surjective functional indexes

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема Re: [HACKERS] Surjective functional indexes
Дата
Msg-id CAEepm=3B8HuoX9mR0qxedm1LPKAh8C_299zkL6+DD+y28KCsXw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] Surjective functional indexes  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Ответы Re: [HACKERS] Surjective functional indexes  (Simon Riggs <simon@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [HACKERS] adding the commit to a patch's thread
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: [HACKERS] [PROPOSAL] Temporal query processing with range types