rel->size = compute_rel_size(rel);
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.9 1997/06/05 09:33:50 vadim Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/allpaths.c,v 1.10 1997/06/10 07:55:45 vadim Exp $
*
*-------------------------------------------------------------------------
*/
foreach(x, new_rels) {
rel = (Rel*)lfirst(x);
-#if 0 /* compute_joinrel_size already called by prune_rel_paths */
- rel->size = compute_rel_size(rel);
-#endif
+ if ( rel->size <= 0 )
+ rel->size = compute_rel_size(rel);
rel->width = compute_rel_width(rel);
/*#define OPTIMIZER_DEBUG*/
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/prune.c,v 1.2 1996/11/08 05:57:01 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/prune.c,v 1.3 1997/06/10 07:55:47 vadim Exp $
*
*-------------------------------------------------------------------------
*/
foreach(x, rel_list) {
rel = (Rel*)lfirst(x);
+ rel->size = 0;
foreach(y, rel->pathlist) {
path = (Path*)lfirst(y);