Connect to your database, example using psql command line
\connect mydb
then install extensions
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
List of extension installed
mydb=# \dx
List of installed extensions
Name | Version | Schema | Description
------------------+---------+------------+---------------------------------------------------------------------
plpgsql | 1.0 | pg_catalog | PL/pgSQL procedural language
postgis | 2.0.1 | public | PostGIS geometry, geography, and raster spatial types and functions
postgis_topology | 2.0.1 | topology | PostGIS topology spatial types and functions
(3 rows)
mydb=#
List of tables/view after extension installed
mydb=# \d
List of relations
Schema | Name | Type | Owner
----------+-------------------+----------+-------
public | geography_columns | view | cecep
public | geometry_columns | view | cecep
public | raster_columns | view | cecep
public | raster_overviews | view | cecep
public | spatial_ref_sys | table | cecep
topology | layer | table | cecep
topology | topology | table | cecep
topology | topology_id_seq | sequence | cecep
(8 rows)
mydb=#
Connect to your database, then install extensions
CREATE EXTENSION postgis;
CREATE EXTENSION postgis_topology;
CREATE EXTENSION postgis_tiger_geocoder;