Skip to content

Commit

Permalink
Consistently operator on USER instead of ROLE objects
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bach-by authored and sebastianneubauer committed Feb 1, 2018
1 parent f417b5b commit 5885998
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def create_postgres_db(connection_dict, config):
Identifier(connection_dict['db_username']),
))
except psycopg2.ProgrammingError as e:
cur.execute(SQL("DROP ROLE {};").format(
cur.execute(SQL("DROP USER {};").format(
Identifier(connection_dict['db_username']),
))
raise ValueError(e.args[0])
Expand Down

0 comments on commit 5885998

Please sign in to comment.