Is there ST_Intersects alternative that allows two(or more) polygons to share sides
You want ST_Overlaps:

Returns TRUE if geometry A and B "spatially overlap". Two geometries overlap if they have the same dimension, each has at least one point not shared by the other (or equivalently neither covers the other), and the intersection of their interiors has the same dimension. The overlaps relationship is symmetrical.


I am using ST_Intersects to check if two polygons intersect. Relevant part of my query is:
SELECT entity_number
FROM coordinates
WHERE ST_INTERSECTS($1, location)


It works well to determine if one polygon crosses the other's surface:

I expected ST_Intersects to return false when two polygons share sides, but it does not:

I read about other methods like ST_Covers, ST_Contains, ST_ContainsProperly, ST_Within ,ST_DWithin. But i am not sure which one suits my needs.
Is there any method that allows two polygons to share sides?
