• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット

firtst release


コミットメタ情報

リビジョン431989233a970f5f9701f3dcd9f1894ce43d57c5 (tree)
日時2014-09-17 17:10:18
作者Kyotaro Horiguchi <horiguchi.kyotaro@lab....>
コミッターKyotaro Horiguchi

ログメッセージ

Remove unused struct member.

変更サマリ

差分

--- a/pg_hint_plan.c
+++ b/pg_hint_plan.c
@@ -306,7 +306,6 @@ struct HintState
306306 ScanMethodHint **scan_hints; /* parsed scan hints */
307307 int init_scan_mask; /* initial value scan parameter */
308308 Index parent_relid; /* inherit parent table relid */
309- Oid parent_rel_oid; /* inherit parent table relid */
310309 ScanMethodHint *parent_hint; /* inherit parent table scan hint */
311310 List *parent_index_infos; /* information of inherit parent table's
312311 * index */
@@ -830,7 +829,6 @@ HintStateCreate(void)
830829 hstate->scan_hints = NULL;
831830 hstate->init_scan_mask = 0;
832831 hstate->parent_relid = 0;
833- hstate->parent_rel_oid = InvalidOid;
834832 hstate->parent_hint = NULL;
835833 hstate->parent_index_infos = NIL;
836834 hstate->join_hints = NULL;
@@ -2948,9 +2946,8 @@ pg_hint_plan_get_relation_info(PlannerInfo *root, Oid relationObjectId,
29482946
29492947 if (inhparent)
29502948 {
2951- /* store does relids of parent table. */
2949+ /* store relid of the parent table. */
29522950 current_hint->parent_relid = rel->relid;
2953- current_hint->parent_rel_oid = relationObjectId;
29542951 }
29552952 else if (current_hint->parent_relid != 0)
29562953 {
@@ -2979,7 +2976,6 @@ pg_hint_plan_get_relation_info(PlannerInfo *root, Oid relationObjectId,
29792976
29802977 /* This rel is not inherit table. */
29812978 current_hint->parent_relid = 0;
2982- current_hint->parent_rel_oid = InvalidOid;
29832979 current_hint->parent_hint = NULL;
29842980 }
29852981
旧リポジトリブラウザで表示