Re: index-only scans - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: index-only scans
Date
Msg-id CAPpHfduLcQ7KR5ZGweR6E9PuiWKVmP7BsNfxzqrZJOF32+w7fA@mail.gmail.com
Whole thread Raw
In response to Re: index-only scans  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: index-only scans
List pgsql-hackers
On Tue, Oct 11, 2011 at 5:22 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
I haven't thought as far ahead as how we might get the information
needed for a per-opclass flag.  A syntax addition to CREATE OPERATOR
CLASS might be the only way.
Shouldn't it be implemented through additional interface function? There are situations when restoring of original tuple requires some transformation. For example, in point_ops we store box in the leaf index tuple, while point can be easily restored from box.

------
With best regards,
Alexander Korotkov. 

pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: Proposal: casts row to array and array to row
Next
From: Pavel Stehule
Date:
Subject: Re: Proposal: casts row to array and array to row