From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org, Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru> |
Subject: | Allow to specify #columns in heap/index_form_tuple |
Date: | 2017-03-31 17:24:46 |
Message-ID: | 20170331172446.lb2m5enymdyowzof@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi,
The covering indexes patch [1] really needs a version of
heap_form_tuple/index_form_tuple that allows to specify the number of
columns in the to-be generated tuple. Previously the faster expression
evaluation stuff could also have benefited form the same for both
forming and deforming tuples.
It's obviously trivial to add, codewise.
I think for index_form_tuple we can just add a parameter, but for
heap_form_tuple/heap_deform_tuple that'd probably break a number of
external users. How about adding _ex variants that allow to specify
that?
Regards,
Andres
[1] http://archives.postgresql.org/message-id/56168952.4010101%40postgrespro.ru
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2017-03-31 17:26:39 | Re: REFERENCES privilege should not be symmetric (was Re: [GENERAL] Postgres Permissions Article) |
Previous Message | Kevin Grittner | 2017-03-31 17:20:51 | Re: delta relations in AFTER triggers |