OSDN Git Service

push_hint の説明のコメントを記述した。
authorTakashi Suzuki <suzuki.takashi@metrosystems.co.jp>
Wed, 24 Oct 2012 08:41:58 +0000 (17:41 +0900)
committerTakashi Suzuki <suzuki.takashi@metrosystems.co.jp>
Wed, 24 Oct 2012 08:41:58 +0000 (17:41 +0900)
また、ヒント用スタックの実装にリストを使用しているが、ヒント用スタ
ックの上下とリストのデータ順の紐付けについて記述した。

pg_hint_plan.c

index 4c9d4c3..3b38587 100644 (file)
@@ -1463,7 +1463,10 @@ pg_hint_plan_ProcessUtility(Node *parsetree, const char *queryString,
                                                                isTopLevel, dest, completionTag);
 }
 
-/*  */
+/*
+ * ヒント用スタック構造にヒントをプッシュする。なお、List構造体でヒント用スタッ
+ * ク構造を実装していて、リストの先頭がスタックの一番上に該当する。
+ */
 static void
 push_hint(PlanHint *plan)
 {