Re: POC, WIP: OR-clause support for indexes - Mailing list pgsql-hackers

From jian he
Subject Re: POC, WIP: OR-clause support for indexes
Date
Msg-id CACJufxGVEbUCSrz=9oOdv5XhCH8G0uOjPizVOtva_eU4YKuJ_Q@mail.gmail.com
Whole thread Raw
In response to Re: POC, WIP: OR-clause support for indexes  (Alexander Korotkov <aekorotkov@gmail.com>)
List pgsql-hackers
looking at it again. in match_orclause_to_indexcol

        /* Only the operator returning a boolean suits the transformation. */
        if (get_op_rettype(opno) != BOOLOID)
            break;

can change to

        if (subClause->opresulttype != BOOLOID)
            break;

for saving some cycles?



pgsql-hackers by date:

Previous
From: Sutou Kouhei
Date:
Subject: Re: Make COPY format extendable: Extract COPY TO format implementations
Next
From: Suraj Kharage
Date:
Subject: Re: Support for NO INHERIT to INHERIT state change with named NOT NULL constraints