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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Repair oversight in creation of "append relations": we should set
Date: 2007-01-28 18:50:48
Message-ID: 20070128185048.1F3D89FB2E9@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/backend/optimizer/path:
allpaths.c (r1.154 -> r1.154.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/allpaths.c.diff?r1=1.154&r2=1.154.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-01-28 19:05:35 pgsql: Remove some unnecessary conversion work in build_regtype_array().
Previous Message Tom Lane 2007-01-28 18:50:40 pgsql: Repair oversight in creation of "append relations": we should set