Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ed8cec3

Browse files
committed
make beauty
1 parent 076f363 commit ed8cec3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

online_analyze.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -442,11 +442,9 @@ onlineAnalyzeHooker(QueryDesc *queryDesc)
442442
if (online_analyze_enable && queryDesc->plannedstmt &&
443443
(queryDesc->operation == CMD_INSERT ||
444444
queryDesc->operation == CMD_UPDATE ||
445-
queryDesc->operation == CMD_DELETE ||
446-
#if PG_VERSION_NUM >= 90200
447-
0 /* (queryDesc->operation == CMD_SELECT && queryDesc->dest && queryDesc->dest == DestIntoRel) */
448-
#else
449-
(queryDesc->operation == CMD_SELECT && queryDesc->plannedstmt->intoClause)
445+
queryDesc->operation == CMD_DELETE
446+
#if PG_VERSION_NUM < 90200
447+
|| (queryDesc->operation == CMD_SELECT && queryDesc->plannedstmt->intoClause)
450448
#endif
451449
))
452450
{

0 commit comments

Comments
 (0)