diff options
| author | Michael P | 2011-08-08 06:54:49 +0000 |
|---|---|---|
| committer | Michael P | 2011-08-08 06:56:50 +0000 |
| commit | 52fde6ac488b392203d642bc1b54d124ec4843ed (patch) | |
| tree | a10d841ff80a3330bd87a9c6be5fabf7a3632607 /src/backend/optimizer | |
| parent | f1a32c6227136d722aead50b8d4a85fceba7523f (diff) | |
Clean up compilation warnings
90% of compilation warnings are cleaned with this commit.
There are still warnings remaining due to the strong dependance
between GTM and PGXC main code.
Diffstat (limited to 'src/backend/optimizer')
| -rw-r--r-- | src/backend/optimizer/plan/planner.c | 2 | ||||
| -rw-r--r-- | src/backend/optimizer/util/pathnode.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/backend/optimizer/plan/planner.c b/src/backend/optimizer/plan/planner.c index 326cc9cc70..4002b4f38b 100644 --- a/src/backend/optimizer/plan/planner.c +++ b/src/backend/optimizer/plan/planner.c @@ -267,6 +267,8 @@ standard_planner(Query *parse, int cursorOptions, ParamListInfo boundParams) case CMD_DELETE: top_plan = create_remotedelete_plan(root, top_plan); break; + default: + break; } #endif diff --git a/src/backend/optimizer/util/pathnode.c b/src/backend/optimizer/util/pathnode.c index 4e7b456704..9efb8542dc 100644 --- a/src/backend/optimizer/util/pathnode.c +++ b/src/backend/optimizer/util/pathnode.c @@ -1445,7 +1445,7 @@ create_remotequery_path(PlannerInfo *root, RelOptInfo *rel) * execute query against remote query multiple times. * Subject for future optimization */ - pathnode = create_material_path(rel, pathnode); + pathnode = (Path *) create_material_path(rel, pathnode); return pathnode; } |
