summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/base.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/base.py b/lib/sqlalchemy/dialects/postgresql/base.py
index c89ae16bd..57f2161c1 100644
--- a/lib/sqlalchemy/dialects/postgresql/base.py
+++ b/lib/sqlalchemy/dialects/postgresql/base.py
@@ -433,6 +433,7 @@ class PGIdentifierPreparer(compiler.IdentifierPreparer):
def _escape_identifier(self, value):
value = value.replace('"', '""')
+ # TODO: might want to move this to psycopg2 + pg8000 individually
return value.replace('%', '%%')
class PGInspector(reflection.Inspector):