diff options
author | Tomas Vondra | 2017-07-06 17:21:30 +0000 |
---|---|---|
committer | Tomas Vondra | 2017-07-06 17:21:30 +0000 |
commit | c026dfc99447f7c58ff6e6301fa5550126abcf7a (patch) | |
tree | 659677d64b6590ee2c66380c7907ae50cb36d60b | |
parent | 1e0b3b8000224a766c32e8e4a3442911f1a026de (diff) |
Change type to (Node *) to fix compiler warning
get_object_address() expects the second parameter to be (Node *) but
we've been passing (List *), so that compilers were complaining. Just
change the type to fix this.
-rw-r--r-- | src/backend/tcop/utility.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/utility.c b/src/backend/tcop/utility.c index ada57ac500..a25498874a 100644 --- a/src/backend/tcop/utility.c +++ b/src/backend/tcop/utility.c @@ -4899,7 +4899,7 @@ DropStmtPreTreatment(DropStmt *stmt, const char *queryString, bool sentToRemote, * which the rule is dependent and define if this rule * has a dependency with a temporary object or not. */ - List *objname = linitial(stmt->objects); + Node *objname = linitial(stmt->objects); Relation relation = NULL; get_object_address(OBJECT_RULE, |