projects
/
online_analyze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
076f363
)
make beauty
author
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 13 Sep 2012 15:45:53 +0000
(19:45 +0400)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Thu, 13 Sep 2012 15:45:53 +0000
(19:45 +0400)
online_analyze.c
patch
|
blob
|
history
diff --git
a/online_analyze.c
b/online_analyze.c
index
50ee68b
..
2519b5e
100644
(file)
--- a/
online_analyze.c
+++ b/
online_analyze.c
@@
-442,11
+442,9
@@
onlineAnalyzeHooker(QueryDesc *queryDesc)
if (online_analyze_enable && queryDesc->plannedstmt &&
(queryDesc->operation == CMD_INSERT ||
queryDesc->operation == CMD_UPDATE ||
if (online_analyze_enable && queryDesc->plannedstmt &&
(queryDesc->operation == CMD_INSERT ||
queryDesc->operation == CMD_UPDATE ||
- queryDesc->operation == CMD_DELETE ||
-#if PG_VERSION_NUM >= 90200
- 0 /* (queryDesc->operation == CMD_SELECT && queryDesc->dest && queryDesc->dest == DestIntoRel) */
-#else
- (queryDesc->operation == CMD_SELECT && queryDesc->plannedstmt->intoClause)
+ queryDesc->operation == CMD_DELETE
+#if PG_VERSION_NUM < 90200
+ || (queryDesc->operation == CMD_SELECT && queryDesc->plannedstmt->intoClause)
#endif
))
{
#endif
))
{