Обсуждение: pgsql-server/src/backend/utils/adt selfuncs.c

Поиск
Список
Период
Сортировка

pgsql-server/src/backend/utils/adt selfuncs.c

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    04/01/17 16:09:35

Modified files:
    src/backend/utils/adt: selfuncs.c

Log message:
    Repair misestimation of indexscan CPU costs.  When an indexqual contains
    a run-time key (that is, a nonconstant expression compared to the index
    variable), the key is evaluated just once per scan, but we were charging
    costs as though it were evaluated once per visited index entry.