SELECT * FROM dblink('host=192.168.1.254 user=postgres password=x25yvaga2017 dbname=sigemweb', 'SELECT entidad, boundno, boundse, latlong, zoom FROM public.entidades WHERE entidad = 505') AS t(entidad int, boundno text, boundse text, latlong text, zoom text);