1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-09 06:21:09 +03:00

Fixed all elog related warnings, as well as a few others.

This commit is contained in:
Peter Eisentraut
2000-01-15 02:59:43 +00:00
parent 7c9390caa1
commit 1cd4c14116
42 changed files with 184 additions and 182 deletions

View File

@@ -9,7 +9,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.78 2000/01/09 00:26:34 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/createplan.c,v 1.79 2000/01/15 02:59:30 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -168,7 +168,7 @@ create_scan_node(Query *root, Path *best_path, List *tlist)
break;
default:
elog(ERROR, "create_scan_node: unknown node type",
elog(ERROR, "create_scan_node: unknown node type: %d",
best_path->pathtype);
break;
}
@@ -234,7 +234,7 @@ create_join_node(Query *root, JoinPath *best_path, List *tlist)
inner_tlist);
break;
default:
elog(ERROR, "create_join_node: unknown node type",
elog(ERROR, "create_join_node: unknown node type: %d",
best_path->path.pathtype);
}

View File

@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.43 2000/01/12 00:53:21 tgl Exp $
* $Header: /cvsroot/pgsql/src/backend/optimizer/util/plancat.c,v 1.44 2000/01/15 02:59:31 petere Exp $
*
*-------------------------------------------------------------------------
*/
@@ -410,7 +410,7 @@ restriction_selectivity(Oid functionObjectId,
elog(ERROR, "restriction_selectivity: bad pointer");
if (*result < 0.0 || *result > 1.0)
elog(ERROR, "restriction_selectivity: bad value %lf", *result);
elog(ERROR, "restriction_selectivity: bad value %f", *result);
return (Selectivity) *result;
}
@@ -446,7 +446,7 @@ join_selectivity(Oid functionObjectId,
elog(ERROR, "join_selectivity: bad pointer");
if (*result < 0.0 || *result > 1.0)
elog(ERROR, "join_selectivity: bad value %lf", *result);
elog(ERROR, "join_selectivity: bad value %f", *result);
return (Selectivity) *result;
}