> So, may by add to pg_opclass two fields? > bool is_varlena_key > bool is_lossy_compress Those are both properties of the compress function, the index method or the key type. I do not think it has anything to do with operator classes (comparison functions), and thus would be wrong in pg_opclass. Andreas ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl