New to Postgres, have google and also checked other posts but this does not solve the problem
I am running Postgres 9.4 x86.
I am trying to run the Query below but it fails with error
CREATE TABLE Locations (
id SERIAL PRIMARY KEY,
name VARCHAR(1000),
location GEOGRAPHY(POINT, 4326) )
The error that I get is
ERROR: type "geography" does not exist LINE 4: location GEOGRAPHY(POINT, 4326) ^ ********** Error **********
ERROR: type "geography" does not exist SQL state: 42704 Character: 90
After doing some search I tried to ensure that postGIS extension is installed
so I tried below
CREATE EXTENSION Postgis;
But now this fails with error
ERROR: could not open extension control file "C:/Program Files (x86)/PostgreSQL/9.4/share/extension/postgis.control": No such file or directory
Any help would be appreciated. Thank you