The comment above TOAST_INDEX_HACK in tuptoaster.h is:
/*
* This enables de-toasting of index entries. Needed until VACUUM is
* smart enough to rebuild indexes from scratch.
*/
#define TOAST_INDEX_HACK
Do we already have a TODO item to remove this hack? If not, I think there
should be, because it is waiting for some other progress to happen.
Best regards,
--
gurjeet[(dot)singh](at)EnterpriseDB(dot)com
singh(dot)gurjeet(at){ gmail | hotmail | yahoo }.com