ERROR: syntax error at or near "::" LINE 7: ...etgeo as objetgeo from public. where id_objetgeo::text = '... ^