]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
- Removed "None" from a connection.execute() in the dialect
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 15 Feb 2010 20:44:31 +0000 (20:44 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 15 Feb 2010 20:44:31 +0000 (20:44 +0000)
      which potentially allows pygresql to work as an alternate
      DBAPI (but this is *not supported!!!*) [ticket:1691]

CHANGES
lib/sqlalchemy/databases/postgres.py

diff --git a/CHANGES b/CHANGES
index 5fc1a5366da6007f268d9965715b7a799115f50d..af5ba4d8bc0d81cea3f5580fb3c5bac5fc9488ee 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -16,6 +16,11 @@ CHANGES
     - Fix reflection of default values with spurious spaces
       (backport of r6257 and r6699). [ticket:1582 and ticket:1663]
 
+- postgresql
+    - Removed "None" from a connection.execute() in the dialect
+      which potentially allows pygresql to work as an alternate
+      DBAPI (but this is *not supported!!!*) [ticket:1691]
+
 0.5.8
 =====
 - sql
index 2ec820c739757f34a740fe4fc56832bbd087f824..de59778f3af5bb81b33e34e6ff18ef84bbf740ab 100644 (file)
@@ -442,7 +442,7 @@ class PGDialect(default.DefaultDialect):
         return [row[0] for row in resultset]
 
     def get_default_schema_name(self, connection):
-        return connection.scalar("select current_schema()", None)
+        return connection.scalar("select current_schema()")
     get_default_schema_name = base.connection_memoize(
         ('dialect', 'default_schema_name'))(get_default_schema_name)