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

Started by Tom Lanealmost 20 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tgl@postgresql.org

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)