Re: WIP: Covering + unique indexes. - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: WIP: Covering + unique indexes.
Date
Msg-id 20180407132439.cc6fhomh7oovzdxm@alvherre.pgsql
Whole thread Raw
In response to Re: WIP: Covering + unique indexes.  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
Responses Re: WIP: Covering + unique indexes.  (Teodor Sigaev <teodor@sigaev.ru>)
Re: WIP: Covering + unique indexes.  (Teodor Sigaev <teodor@sigaev.ru>)
List pgsql-hackers
I didn't like rel.h being included in itup.h.  Do you really need a
Relation as argument to index_truncate_tuple?  It looks to me like you
could pass the tupledesc instead; indnatts could be passed as a separate
argument instead of IndexRelationGetNumberOfAttributes.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: "Daniel Verite"
Date:
Subject: Re: csv format for psql
Next
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] Runtime Partition Pruning