World Shapefiles

Download

Natural Earth has a whole bunch of public domain map datasets available at various resolutions.

Countries of the world

SELECT st_asgeojson(wkb_geometry),
    pop_est
FROM ne_110m_admin_0_countries
WHERE continent = 'South America'

Lakes of the world

Convert to SQL

PostGIS Shapefiles