Skip to content

Commit

Permalink
Add missing semicolon to errmsg
Browse files Browse the repository at this point in the history
Commit fa5d7e8 the build with a typo. Re-add
semicolon to get it building again.
  • Loading branch information
mpalmi committed Jul 17, 2017
1 parent 1268b51 commit f78100d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion set_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ set_user(PG_FUNCTION_ARGS)
ereport(ERROR,
(errcode(ERRCODE_INSUFFICIENT_PRIVILEGE),
errmsg("switching to superuser not allowed"),
errhint("Use \'set_user_u\' to escalate.")))
errhint("Use \'set_user_u\' to escalate.")));
else if (!check_user_whitelist(GetUserId(), SU_Whitelist))
/* check superuser whitelist*/
ereport(ERROR,
Expand Down

0 comments on commit f78100d

Please sign in to comment.