collapse closing braces as suggested by dim

moonshot/custom-path
Nils Dijk 2021-01-21 13:03:19 +01:00
parent cc84b48fd1
commit 766ed2ad33
No known key found for this signature in database
GPG Key ID: CA1177EF9434F241
1 changed files with 6 additions and 13 deletions

View File

@ -777,6 +777,7 @@ GeoOverlapJoin(PlannerInfo *root, Path *originalPath)
originalPath, originalPath,
MatchJoin( MatchJoin(
JOIN_INNER, JOIN_INNER,
/* match on join restriction info */
MatchJoinRestrictions( MatchJoinRestrictions(
MatchExprNamedOperation( MatchExprNamedOperation(
geometry_overlaps, geometry_overlaps,
@ -786,31 +787,23 @@ GeoOverlapJoin(PlannerInfo *root, Path *originalPath)
MatchVar(), MatchVar(),
CaptureMatch( CaptureMatch(
&match.stdwithinDistanceConst, &match.stdwithinDistanceConst,
MatchConst(MatchConstType(FLOAT8OID)) MatchConst(MatchConstType(FLOAT8OID)))))),
)) /* match inner path in join */
)),
SkipReadthrough(CaptureMatch( SkipReadthrough(CaptureMatch(
&match.innerGrouping, &match.innerGrouping,
MatchGrouping(CaptureMatch( MatchGrouping(CaptureMatch(
&match.innerDistUnion, &match.innerDistUnion,
MatchDistributedUnion(CaptureMatch( MatchDistributedUnion(CaptureMatch(
&match.innerPath, &match.innerPath,
MatchGeoScan MatchGeoScan)))))),
))) /* match outer path in join */
))
),
SkipReadthrough(CaptureMatch( SkipReadthrough(CaptureMatch(
&match.outerGrouping, &match.outerGrouping,
MatchGrouping(CaptureMatch( MatchGrouping(CaptureMatch(
&match.outerDistUnion, &match.outerDistUnion,
MatchDistributedUnion(CaptureMatch( MatchDistributedUnion(CaptureMatch(
&match.outerPath, &match.outerPath,
MatchGeoScan MatchGeoScan))))))))
)))
))
)
)
)
{ {
/* have a match on the geo join pattern, all fields are stored in `match` */ /* have a match on the geo join pattern, all fields are stored in `match` */
ereport(DEBUG1, (errmsg("my custom code %p: %f", ereport(DEBUG1, (errmsg("my custom code %p: %f",