Minor enhancement to support an option (--is-dba) to show if the

current user is a database management system administrator.
This commit is contained in:
Bernardo Damele
2008-12-18 20:41:11 +00:00
parent c32ef9d751
commit 3fe493b63d
8 changed files with 42 additions and 0 deletions

View File

@@ -202,6 +202,10 @@ def cmdLineParser():
action="store_true",
help="Retrieve DBMS current database")
enumeration.add_option("--is-dba", dest="isDba",
action="store_true",
help="Detect if the DBMS current user is DBA")
enumeration.add_option("--users", dest="getUsers", action="store_true",
help="Enumerate DBMS users")