Skip to content

Commit

Permalink
Turn NOTICE from that last commit into a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
jconway committed Nov 7, 2016
1 parent 20e56ab commit 9281dcc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions set_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,11 +184,9 @@ set_user(PG_FUNCTION_ARGS)
}
else if (nargs == 0 || (nargs == 1 && argisnull))
{
/* set_user not active, nothing to do */
if (save_OldUserId == InvalidOid)
{
elog(NOTICE, "set_user not active, nothing to do");
PG_RETURN_TEXT_P(cstring_to_text("OK"));
}

/* get original userid to whom we will reset */
NewUserId = save_OldUserId;
Expand Down

0 comments on commit 9281dcc

Please sign in to comment.