OSDN Git Service
(root)
/
pghintplan
/
pg_hint_plan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27b944c
)
push_hint の説明のコメントを記述した。
author
Takashi Suzuki
<suzuki.takashi@metrosystems.co.jp>
Wed, 24 Oct 2012 08:41:58 +0000
(17:41 +0900)
committer
Takashi Suzuki
<suzuki.takashi@metrosystems.co.jp>
Wed, 24 Oct 2012 08:41:58 +0000
(17:41 +0900)
また、ヒント用スタックの実装にリストを使用しているが、ヒント用スタ
ックの上下とリストのデータ順の紐付けについて記述した。
pg_hint_plan.c
patch
|
blob
|
history
diff --git
a/pg_hint_plan.c
b/pg_hint_plan.c
index
4c9d4c3
..
3b38587
100644
(file)
--- a/
pg_hint_plan.c
+++ b/
pg_hint_plan.c
@@
-1463,7
+1463,10
@@
pg_hint_plan_ProcessUtility(Node *parsetree, const char *queryString,
isTopLevel, dest, completionTag);
}
-/* */
+/*
+ * ヒント用スタック構造にヒントをプッシュする。なお、List構造体でヒント用スタッ
+ * ク構造を実装していて、リストの先頭がスタックの一番上に該当する。
+ */
static void
push_hint(PlanHint *plan)
{