1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-14 08:21:07 +03:00

if ( rel->size <= 0 )

rel->size = compute_rel_size(rel);
This commit is contained in:
Vadim B. Mikheev
1997-06-10 07:55:47 +00:00
parent cbb4213af4
commit f4161503e6
2 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@
*
*
* 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 $
*
*-------------------------------------------------------------------------
*/
@ -216,9 +216,8 @@ find_join_paths(Query *root, List *outer_rels, int levels_left)
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*/