From 0a0c24581ed7d75f68b33707c3a55eb775385cd1 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 21 Feb 2017 13:10:24 -0500 Subject: [PATCH] Refs #26285 -- Removed postgresql's unused DatabaseOperations.fulltext_search_sql(). Should have been removed in 5139832398624be75ee5361a6fac9348fdb61093. --- django/db/backends/postgresql/operations.py | 6 ------ 1 file changed, 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." - )