I'm trying to find a way to locate all geometry that intersects a given point with PostGIS on CartoDB.com (cloud hosted spatial db).
The closest I've been able to get to reproduce this is:
SELECT * FROM sf_blocks WHERE ST_Contains(the_geom, ST_GeomFromText('POINT(-122.44107 37.750066)'));
Unfortunately this errors out with 'ERROR: Operation on mixed SRID geometries.'
What is the correct syntax to select geometry from a table that intersects with a point? My table, sf_blocks are all polygons.