summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/dialects/postgresql/dml.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sqlalchemy/dialects/postgresql/dml.py')
-rw-r--r--lib/sqlalchemy/dialects/postgresql/dml.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/sqlalchemy/dialects/postgresql/dml.py b/lib/sqlalchemy/dialects/postgresql/dml.py
index 70d26a94b..50fd09528 100644
--- a/lib/sqlalchemy/dialects/postgresql/dml.py
+++ b/lib/sqlalchemy/dialects/postgresql/dml.py
@@ -30,6 +30,8 @@ class Insert(StandardInsert):
"""
+ stringify_dialect = "postgresql"
+
@util.memoized_property
def excluded(self):
"""Provide the ``excluded`` namespace for an ON CONFLICT statement
@@ -149,6 +151,8 @@ insert = public_factory(
class OnConflictClause(ClauseElement):
+ stringify_dialect = "postgresql"
+
def __init__(self, constraint=None, index_elements=None, index_where=None):
if constraint is not None: