From de115ae40695d8e9fa6d85c629222bec2ea01ff6 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Tue, 17 Jul 2012 20:04:22 -0400 Subject: - a big renaming of all the _Underscore classes to have plain names. The old names are still defined for backwards compatibility. - _BindParamClause renamed to BindParameter --- lib/sqlalchemy/dialects/postgresql/psycopg2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/sqlalchemy/dialects/postgresql/psycopg2.py') diff --git a/lib/sqlalchemy/dialects/postgresql/psycopg2.py b/lib/sqlalchemy/dialects/postgresql/psycopg2.py index ec8d0f219..44ed7fc91 100644 --- a/lib/sqlalchemy/dialects/postgresql/psycopg2.py +++ b/lib/sqlalchemy/dialects/postgresql/psycopg2.py @@ -221,7 +221,7 @@ class PGExecutionContext_psycopg2(PGExecutionContext): or \ ( (not self.compiled or - isinstance(self.compiled.statement, expression._TextClause)) + isinstance(self.compiled.statement, expression.TextClause)) and self.statement and SERVER_SIDE_CURSOR_RE.match(self.statement)) ) ) -- cgit v1.2.1