SAGA-GIS Tool Library Documentation (v7.8.2)

Tool Drop Database

Deletes a PostgreSQL Database.

Parameters

 NameTypeIdentifierDescriptionConstraints
OptionsHostTextPG_HOST-Default: localhost
PortIntegerPG_PORT-Minimum: 0
Default: 5432
DatabaseTextPG_NAME-Default: geo_test
UserTextPG_USER-Default: postgres
PasswordTextPG_PWD-Default: postgres

Command-line

Usage: saga_cmd db_pgsql 36 [-PG_HOST <str>] [-PG_PORT <num>] [-PG_NAME <str>] [-PG_USER <str>] [-PG_PWD <str>]
  -PG_HOST:<str>	Host
	Text
	Default: localhost
  -PG_PORT:<num>	Port
	Integer
	Minimum: 0
	Default: 5432
  -PG_NAME:<str>	Database
	Text
	Default: geo_test
  -PG_USER:<str>	User
	Text
	Default: postgres
  -PG_PWD:<str> 	Password
	Text
	Default: postgres