summaryrefslogtreecommitdiff
path: root/django/db/backends/postgresql/operations.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2017-02-21 13:10:24 -0500
committerTim Graham <timograham@gmail.com>2017-02-21 13:10:24 -0500
commit0a0c24581ed7d75f68b33707c3a55eb775385cd1 (patch)
tree00a30eb13738983b7b6297ba5274208cf7c4500a /django/db/backends/postgresql/operations.py
parent4045fd56cb0f83d0f78de9aca073c7104e4cf8fd (diff)
downloaddjango-0a0c24581ed7d75f68b33707c3a55eb775385cd1.tar.gz
Refs #26285 -- Removed postgresql's unused DatabaseOperations.fulltext_search_sql().
Should have been removed in 5139832398624be75ee5361a6fac9348fdb61093.
Diffstat (limited to 'django/db/backends/postgresql/operations.py')
-rw-r--r--django/db/backends/postgresql/operations.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py
index 463fdc3eda..d246638cca 100644
--- a/django/db/backends/postgresql/operations.py
+++ b/django/db/backends/postgresql/operations.py
@@ -255,9 +255,3 @@ class DatabaseOperations(BaseDatabaseOperations):
rhs_sql, rhs_params = rhs
return "(interval '1 day' * (%s - %s))" % (lhs_sql, rhs_sql), lhs_params + rhs_params
return super().subtract_temporals(internal_type, lhs, rhs)
-
- def fulltext_search_sql(self, field_name):
- raise NotImplementedError(
- "Add 'django.contrib.postgres' to settings.INSTALLED_APPS to use "
- "the search operator."
- )