Hi! For bitmaps, I need to search each value being inserted (for each column of the index) in the list of already existing values (stored in index's header area). To do that I need:
1) create Datum from PageItem's value (I store each value in it's own PageItem); 2) compare newly inserted Datum with on-disk existing one. For hash access method (maybe others too, haven't checked), this is done via index_keytest() function. But it uses ScanKey, there's no such at aminsert() stage. So, I'd like to ask -- what is the "reverse" function for heap_fill_tuple(), is it OK to use index_getattr()? And how do I compare 2 Datums? I need FmgrInfo pointer for the equality operator of the corresponding data type. Are there any API calls to obtain one? Thank you. -- Victor Y. Yegorov ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings