Sairam Krishnamurthy <kmsram420 <at> gmail.com> writes: > Any idea about how to place this distance constraint on > the spatial point field? A trigger in PL/PGSQL? http://www.postgresql.org/docs/9.0//static/plpgsql-trigger.html Sorry that I don't have a more developed example at hand.