From c996b76d5b90476e0c0a253f8eb3db5cdbf73867 Mon Sep 17 00:00:00 2001 From: jonathan vanasco Date: Tue, 10 Jun 2014 18:56:27 -0400 Subject: - add postgresql_regconfig argument to PG dialect for match() operator, implements PG's to_tsquery('regconfig', 'arg') pattern. fixes #3078 --- lib/sqlalchemy/sql/operators.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/sqlalchemy/sql/operators.py') diff --git a/lib/sqlalchemy/sql/operators.py b/lib/sqlalchemy/sql/operators.py index 9ad30e49e..55700a382 100644 --- a/lib/sqlalchemy/sql/operators.py +++ b/lib/sqlalchemy/sql/operators.py @@ -758,8 +758,8 @@ def notcontains_op(a, b, escape=None): return ~a.contains(b, escape=escape) -def match_op(a, b): - return a.match(b) +def match_op(a, b, **kw): + return a.match(b, **kw) def comma_op(a, b): -- cgit v1.2.1