Want to store extra integer value in Index Tuple - Mailing list pgsql-novice

From Rohit Goyal
Subject Want to store extra integer value in Index Tuple
Date
Msg-id CANqGtSvyu3P7cSmjBk8S3aOo2zymwcBF6q6koQ+5ExdMKWTqjw@mail.gmail.com
Whole thread Raw
List pgsql-novice
Hi All, 

I am testing some code in postgresql. For that i want to store an extra value inside index tuple(itup).
1. To achieve this i modified the index tuple structure and add define one integer value inside it. But I got some opclass error.

Can you guide me how I can store a extra integer value inside each index tuple(itup). Please mind that i am a very beginner in postgres :)

Regards,
Rohit Goyal

pgsql-novice by date:

Previous
From: Sameer Kumar
Date:
Subject: Re: Index to help ordering?
Next
From: James David Smith
Date:
Subject: Re: Index to help ordering?