• R/O
  • HTTP
  • SSH
  • HTTPS

pg_hint_plan: コミット

firtst release


コミットメタ情報

リビジョン09bf8f7b62fa4918de109988ed85139dcb9cfbf6 (tree)
日時2014-12-22 11:07:09
作者Kyotaro Horiguchi <horiguchi.kyotaro@lab....>
コミッターKyotaro Horiguchi

ログメッセージ

Catch up the changes of pg_stat_statements.c

The change has nothing to do with pg_hint_plan but it's necessary to
catch it up in order to keep the difference minimal for the ease of
maintenance.

変更サマリ

差分

--- a/pg_stat_statements.c
+++ b/pg_stat_statements.c
@@ -965,10 +965,13 @@ pgss_ProcessUtility(Node *parsetree, const char *queryString,
965965 * calculated from the query tree) would be used to accumulate costs of
966966 * ensuing EXECUTEs. This would be confusing, and inconsistent with other
967967 * cases where planning time is not included at all.
968+ *
969+ * Likewise, we don't track execution of DEALLOCATE.
968970 */
969971 if (pgss_track_utility && pgss_enabled() &&
970972 !IsA(parsetree, ExecuteStmt) &&
971- !IsA(parsetree, PrepareStmt))
973+ !IsA(parsetree, PrepareStmt) &&
974+ !IsA(parsetree, DeallocateStmt))
972975 {
973976 instr_time start;
974977 instr_time duration;
旧リポジトリブラウザで表示