commit | a0990cca2cb6f4448c6bfbe5cad4aed5423f300d | [log] [tgz] |
---|---|---|
author | tuyu <tu.yu2@oushu.io> | Mon Jul 29 16:22:10 2019 +0800 |
committer | Ruilong Huo <huoruilong@163.com> | Mon Jul 29 16:55:28 2019 +0800 |
tree | 6e430786472810d547b59cc32fdd3fbba939376b | |
parent | af1f432e2437c3eaac0920fab3a97689bcffc9b3 [diff] |
HAWQ-1731. fix orc table create information bug
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index bd6e2b6..63ba3af 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c
@@ -2050,7 +2050,11 @@ break; case T_CreateExternalStmt: - tag = "CREATE EXTERNAL TABLE"; + { + CreateExternalStmt *stmt = (CreateExternalStmt *) parsetree; + + tag = (stmt->isexternal) ? "CREATE EXTERNAL TABLE" : "CREATE TABLE"; + } break; case T_CreateForeignStmt: