summaryrefslogtreecommitdiff
path: root/src/backend/commands/seclabel.c
diff options
context:
space:
mode:
authorRobert Haas2011-06-28 01:17:25 +0000
committerRobert Haas2011-06-28 01:19:31 +0000
commitc533c1477f6beede766034c1226a20ac08320b05 (patch)
treefd281655d2f87842479dee0a704311257c8b620d /src/backend/commands/seclabel.c
parente1cd66f74862936d84acf3008118d6094c56ad58 (diff)
Add a missing_ok argument to get_object_address().
This lays the groundwork for an upcoming patch to streamline the handling of DROP commands. KaiGai Kohei
Diffstat (limited to 'src/backend/commands/seclabel.c')
-rw-r--r--src/backend/commands/seclabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/commands/seclabel.c b/src/backend/commands/seclabel.c
index 7afb7139a63..51a5567a014 100644
--- a/src/backend/commands/seclabel.c
+++ b/src/backend/commands/seclabel.c
@@ -88,7 +88,7 @@ ExecSecLabelStmt(SecLabelStmt *stmt)
* guard against concurrent modifications.
*/
address = get_object_address(stmt->objtype, stmt->objname, stmt->objargs,
- &relation, ShareUpdateExclusiveLock);
+ &relation, ShareUpdateExclusiveLock, false);
/* Require ownership of the target object. */
check_object_ownership(GetUserId(), stmt->objtype, address,