diff --git a/django/contrib/postgres/lookups.py b/django/contrib/postgres/lookups.py
index 4e1783f288..0970ac6e27 100644
a
|
b
|
from .search import SearchVector, SearchVectorExact, SearchVectorField
|
7 | 7 | |
8 | 8 | class DataContains(PostgresOperatorLookup): |
9 | 9 | lookup_name = "contains" |
10 | | postgres_operator = "@>" |
| 10 | postgres_operator = "OPERATOR(pg_catalog.@>)" |
11 | 11 | |
12 | 12 | |
13 | 13 | class ContainedBy(PostgresOperatorLookup): |
14 | 14 | lookup_name = "contained_by" |
15 | | postgres_operator = "<@" |
| 15 | postgres_operator = "OPERATOR(pg_catalog.<@)" |
16 | 16 | |
17 | 17 | |
18 | 18 | class Overlap(PostgresOperatorLookup): |
19 | 19 | lookup_name = "overlap" |
20 | | postgres_operator = "&&" |
| 20 | postgres_operator = "OPERATOR(pg_catalog.&&)" |
21 | 21 | |
22 | 22 | def get_prep_lookup(self): |
23 | 23 | from .expressions import ArraySubquery |