diff options
Diffstat (limited to 'lib/sqlalchemy/databases/postgres.py')
-rw-r--r-- | lib/sqlalchemy/databases/postgres.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/sqlalchemy/databases/postgres.py b/lib/sqlalchemy/databases/postgres.py index a3a84c742..d38db22e4 100644 --- a/lib/sqlalchemy/databases/postgres.py +++ b/lib/sqlalchemy/databases/postgres.py @@ -114,6 +114,16 @@ gen_key_constraints = schema.Table("key_column_usage", generic_engine, def engine(opts, **params): return PGSQLEngine(opts, **params) +def descriptor(): + return {'name':'postgres', + 'description':'PostGres', + 'arguments':[ + ('user',"Database Username",None), + ('password',"Database Password",None), + ('database',"Database Name",None), + ('host',"Hostname", None), + ]} + class PGSQLEngine(ansisql.ANSISQLEngine): def __init__(self, opts, module = None, **params): if module is None: |