compile error with -DOPTIMIZER_DEBUG - Mailing list pgsql-hackers

From Jan Urbański
Subject compile error with -DOPTIMIZER_DEBUG
Date
Msg-id 4B0928BC.40704@wulczer.org
Whole thread Raw
Responses Re: compile error with -DOPTIMIZER_DEBUG
List pgsql-hackers
Hi,

ISTM that there's a superfluous curly brace in print_path (which only
gets compiled with -DOPTIMIZER_DEBUG.

Patch attached.

Jan
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c
index bfadcb0..6b2f86c 100644
--- a/src/backend/optimizer/path/allpaths.c
+++ b/src/backend/optimizer/path/allpaths.c
@@ -1449,7 +1449,6 @@ print_path(PlannerInfo *root, Path *path, int indent)
                    ((mp->outersortkeys) ? 1 : 0),
                    ((mp->innersortkeys) ? 1 : 0),
                    ((mp->materialize_inner) ? 1 : 0));
-            }
         }

         print_path(root, jp->outerjoinpath, indent + 1);

pgsql-hackers by date:

Previous
From: Emmanuel Cecchet
Date:
Subject: Re: Partitioning option for COPY
Next
From: "Hiroshi Saito"
Date:
Subject: forget patch win32.mak.