ERROR: column "coarse_geom" does not exist LINE 1: DECLARE mycursor CURSOR FOR select adm0_code,coarse_geom fro... ^

ERROR: column "coarse_geom" does not exist LINE 1: DECLARE mycursor CURSOR FOR select adm0_code,coarse_geom fro... ^ in query: select adm0_code,coarse_geom from g2015_2012_0 order by adm0_code