Re: BUG #3938: Row-wise comparison fails

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3938: Row-wise comparison fails
Дата
Msg-id 7044.1202406947@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #3938: Row-wise comparison fails  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
I wrote:
> Weird.  I suppose I broke this in the operator-family rewrite.
> Will look.

Sigh ... I fat-fingered some loop control logic ...

Index: indxpath.c
===================================================================
RCS file: /cvsroot/pgsql/src/backend/optimizer/path/indxpath.c,v
retrieving revision 1.226
diff -c -r1.226 indxpath.c
*** indxpath.c    1 Jan 2008 19:45:50 -0000    1.226
--- indxpath.c    7 Feb 2008 17:46:10 -0000
***************
*** 2619,2627 ****
                           op_strategy, lefttype, righttype, opfam);
              }
              new_ops = lappend_oid(new_ops, expr_op);
          }
-         lefttypes_cell = lnext(lefttypes_cell);
-         righttypes_cell = lnext(righttypes_cell);
      }

      /* If we have more than one matching col, create a subset rowcompare */
--- 2619,2627 ----
                           op_strategy, lefttype, righttype, opfam);
              }
              new_ops = lappend_oid(new_ops, expr_op);
+             lefttypes_cell = lnext(lefttypes_cell);
+             righttypes_cell = lnext(righttypes_cell);
          }
      }

      /* If we have more than one matching col, create a subset rowcompare */


            regards, tom lane

В списке pgsql-bugs по дате отправления:

Предыдущее
От: "Vladimir Kokovic"
Дата:
Сообщение: BUG #3940: 'unrecognized node type: 1718580065'
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #3940: 'unrecognized node type: 1718580065'