• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revisiona7c3fa5dbe4f4068a304a82efc6c44a2bdd2a1bb (tree)
Time2014-01-17 16:57:06
AuthorTakashi Suzuki <suzuki.takashi@metr...>
CommiterTakashi Suzuki

Log Message

bug fix #3

Change Summary

Incremental Difference

--- a/make_join_rel.c
+++ b/make_join_rel.c
@@ -42,6 +42,10 @@ adjust_rows(double rows, RowsHint *hint)
4242 Assert(false); /* unrecognized rows value type */
4343
4444 hint->base.state = HINT_STATE_USED;
45+ if (result < 1.0)
46+ ereport(WARNING,
47+ (errmsg("make rows estimation 1 since below 1 : %s",
48+ hint->base.hint_str)));
4549 result = clamp_row_est(result);
4650 elog(DEBUG1, "adjusted rows %d to %d", (int) rows, (int) result);
4751
Show on old repository browser