ParentFull threadthibautg·DISTINCT ON is also very useful for nearest neighbor queries with PostGIS.View on HN