Обсуждение: pgsql: Repair oversight in creation of "append relations": we should set

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

pgsql: Repair oversight in creation of "append relations": we should set

От
tgl@postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Repair oversight in creation of "append relations": we should set up
rel->tuples as well as rel->rows, since some estimation functions expect both
to be valid in every baserel.  Per report from Dave Dutcher.

Modified Files:
--------------
    pgsql/src/backend/optimizer/path:
        allpaths.c (r1.157 -> r1.158)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/allpaths.c.diff?r1=1.157&r2=1.158)