PostGIS Creator
Creating
a new empty PostGIS database as Data Source
It is
accessible through:
Project > Add Layer > From Data Source... > PostGIS > 
or
Tools > Data Source Explorer... > PostGIS > 
To create a new PostGIS database name "my_db" as data source it is
necessary to inform:
- Server
information
- Host
Name/IP = xxxx.dpi.inpe.br or localhost
- Port = 5432
- User = postgres
- Password =
*****
- Creation
Information
- New
Database Name = my_db
- Template = template_postgis_20)
- Advanced
Creation Options (Optional) can be used to change same default
parameters, like Owner,
Encoding,
Tablespace, Limit connections
whose default values are Postgres,
UTF8,
pg_default
and 4
respectively.
- Apply
Note: After
that a new
PostGIS connector will be available with a title formed by host, database name and postgres at Data Source Selector> PostGIS interface where it can be changed using the Edit option
. In this example the connection title would be xxxx.dpi.inpe.br@my_db@postgres.