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:
6989eff
)
check online_analyze.enable for create table as
author
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 5 Apr 2017 15:44:08 +0000
(18:44 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Wed, 5 Apr 2017 15:44:08 +0000
(18:44 +0300)
online_analyze.c
patch
|
blob
|
history
diff --git
a/online_analyze.c
b/online_analyze.c
index
f9c8ffd
..
50d8aca
100644
(file)
--- a/
online_analyze.c
+++ b/
online_analyze.c
@@
-638,7
+638,8
@@
onlineAnalyzeHookerUtility(
#endif
if (parsetree && IsA(parsetree, CreateTableAsStmt) &&
- ((CreateTableAsStmt*)parsetree)->into)
+ ((CreateTableAsStmt*)parsetree)->into &&
+ online_analyze_enable)
tblname = (RangeVar*)copyObject(((CreateTableAsStmt*)parsetree)->into->rel);
#if PG_VERSION_NUM >= 100000