I wrote the following code to psql (Sql Shell)
createdb -T template_postgis nyc;
but does not work because syntax error .
trying to make an example of the links related aim GeoServer. I have postgis 2.0 and postgresql 9.4
http://docs.geoserver.org/stable/en/user/gettingstarted/postgis-quickstart/index.html
create extension postgis(topology etc)
@Mapperz