From ed8cec3c9559df9ea9c70413245e4e0715271adf Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Thu, 13 Sep 2012 19:45:53 +0400 Subject: [PATCH] make beauty --- online_analyze.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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 )) { -- 2.46.1