Hi Kirill, The family OID check also removes index bounds from a copy of the standard inet opclass in a separate family. Could we instead follow like_support.c: select the standard inet operators, then check op_in_opfamily() for the target family?
With the reverse opclass from your test, explicitly writing the standard >= and <= bounds produces an Index Cond and returns the expected two rows. That suggests we can fix the operator selection without losing the generalization from be1cc9aaf5b. I'd keep the test. Thank you! Best regards, Andrey Borodin.
