我在 plpgsql 中有以下查询:
FOR _t IN EXECUTE 'select distinct_network_point.id AS network_point_id
           from distinct_network_point, all_points_ordered
           where road_id='||road_id||' AND distinct_network_point.point = all_points_ordered.point AND all_points_ordered.point != st_setsrid(st_makepoint('||new_point||'),4326)
           order by st_distance(all_points_ordered.point,st_setsrid(st_makepoint('||new_point||'),4326))
           limit 1'
对于某些人来说,它给了我以下错误:

如果我使用这个 <> 运算符,它会给我这个比:

谁能解释它的真正含义?该查询在 sql 中运行良好。