From: Teodor Sigaev Date: Thu, 13 Sep 2012 15:45:53 +0000 (+0400) Subject: make beauty X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=ed8cec3c9559df9ea9c70413245e4e0715271adf;p=online_analyze.git make beauty --- diff --git a/online_analyze.c b/online_analyze.c index 50ee68b..2519b5e 100644 --- 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 || - 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 )) {