• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: Commit

firtst release


Commit MetaInfo

Revision7dbca52f26b972178538650033c6b0e601094ad1 (tree)
Time2014-09-17 11:49:38
AuthorKyotaro Horiguchi <horiguchi.kyotaro@lab....>
CommiterKyotaro Horiguchi

Log Message

Remove unused struct member

Change Summary

Incremental Difference

--- a/pg_hint_plan.c
+++ b/pg_hint_plan.c
@@ -303,7 +303,6 @@ struct HintState
303303 ScanMethodHint **scan_hints; /* parsed scan hints */
304304 int init_scan_mask; /* initial value scan parameter */
305305 Index parent_relid; /* inherit parent table relid */
306- Oid parent_rel_oid; /* inherit parent table relid */
307306 ScanMethodHint *parent_hint; /* inherit parent table scan hint */
308307 List *parent_index_infos; /* information of inherit parent table's
309308 * index */
@@ -827,7 +826,6 @@ HintStateCreate(void)
827826 hstate->scan_hints = NULL;
828827 hstate->init_scan_mask = 0;
829828 hstate->parent_relid = 0;
830- hstate->parent_rel_oid = InvalidOid;
831829 hstate->parent_hint = NULL;
832830 hstate->parent_index_infos = NIL;
833831 hstate->join_hints = NULL;
@@ -2941,7 +2939,6 @@ pg_hint_plan_get_relation_info(PlannerInfo *root, Oid relationObjectId,
29412939 {
29422940 /* store does relids of parent table. */
29432941 current_hint->parent_relid = rel->relid;
2944- current_hint->parent_rel_oid = relationObjectId;
29452942 }
29462943 else if (current_hint->parent_relid != 0)
29472944 {
@@ -2970,7 +2967,6 @@ pg_hint_plan_get_relation_info(PlannerInfo *root, Oid relationObjectId,
29702967
29712968 /* This rel is not inherit table. */
29722969 current_hint->parent_relid = 0;
2973- current_hint->parent_rel_oid = InvalidOid;
29742970 current_hint->parent_hint = NULL;
29752971 }
29762972
Show on old repository browser