mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Fixing pylint error
This commit is contained in:
parent
d395e1fddf
commit
8ae2b9e93a
@ -240,7 +240,7 @@ def psql_query(query, user=None, host=None, port=None, maintenance_db=None,
|
||||
Run an SQL-Query and return the results as a list. This command
|
||||
only supports SELECT statements. This limitation can be worked around
|
||||
with a query like this:
|
||||
|
||||
|
||||
WITH updated AS (UPDATE pg_authid SET rolconnlimit = 2000 WHERE
|
||||
rolname = 'rolename' RETURNING rolconnlimit) SELECT * FROM updated;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user