Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcbaf1aa

Browse files
committed
Fix log_executor_stats if() test.
1 parent2ef0ff8 commitcbaf1aa

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎src/backend/tcop/pquery.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.75 2004/03/05 00:21:41 momjian Exp $
11+
* $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.76 2004/03/18 23:26:17 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -406,17 +406,14 @@ PortalRun(Portal portal, long count,
406406
if (completionTag)
407407
completionTag[0]='\0';
408408

409-
if (portal->strategy!=PORTAL_MULTI_QUERY)
409+
if (log_executor_stats&&portal->strategy!=PORTAL_MULTI_QUERY)
410410
{
411411
ereport(DEBUG3,
412412
(errmsg_internal("PortalRun")));
413413
/* PORTAL_MULTI_QUERY logs its own stats per query */
414-
if (log_executor_stats)
415-
ResetUsage();
414+
ResetUsage();
416415
}
417416

418-
if (log_executor_stats&&portal->strategy!=PORTAL_MULTI_QUERY)
419-
420417
/*
421418
* Check for improper portal use, and mark portal active.
422419
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp