diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-07-06 00:47:56 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2008-07-06 00:47:56 +0000 |
commit | 93c706a03bc809e21208cb6e9f76b23ed6d2ff19 (patch) | |
tree | 7ef22c33d3f91def664acc5761b62bb06ccb8b80 /lib/sqlalchemy/databases/postgres.py | |
parent | 0f42004deeab823398571986ff4a75eb536267ea (diff) | |
download | sqlalchemy-93c706a03bc809e21208cb6e9f76b23ed6d2ff19.tar.gz |
- re-fixed the fix to the prefixes fix
- removed ancient descriptor() functions from dialects; replaced with Dialect.name
- removed similarly ancient sys.modules silliness in Engine.name
Diffstat (limited to 'lib/sqlalchemy/databases/postgres.py')
-rw-r--r-- | lib/sqlalchemy/databases/postgres.py | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/sqlalchemy/databases/postgres.py b/lib/sqlalchemy/databases/postgres.py index 944d8c3aa..6e77f02d8 100644 --- a/lib/sqlalchemy/databases/postgres.py +++ b/lib/sqlalchemy/databases/postgres.py @@ -225,16 +225,6 @@ ischema_names = { 'interval':PGInterval, } -def descriptor(): - return {'name':'postgres', - 'description':'PostGres', - 'arguments':[ - ('username',"Database Username",None), - ('password',"Database Password",None), - ('database',"Database Name",None), - ('host',"Hostname", None), - ]} - SERVER_SIDE_CURSOR_RE = re.compile( r'\s*SELECT', re.I | re.UNICODE) @@ -316,6 +306,7 @@ class PGExecutionContext(default.DefaultExecutionContext): super(PGExecutionContext, self).post_exec() class PGDialect(default.DefaultDialect): + name = 'postgres' supports_alter = True supports_unicode_statements = False max_identifier_length = 63 |