SAGA 9.6.1 | Tool Library Documentation

Drop Database


Description

Deletes a PostgreSQL Database.


Parameters

 NameTypeIdentifierDescriptionConstraints
OptionsHosttextPG_HOST-Default: localhost
Portinteger numberPG_PORT-Minimum: 0 Default: 5432
DatabasetextPG_DB-Default: dbname
UsertextPG_USER-Default: postgres
PasswordtextPG_PWD-Default: postgres

Command Line


Usage: saga_cmd db_pgsql 36 [-PG_HOST ] [-PG_PORT ] [-PG_DB ] [-PG_USER ] [-PG_PWD ]
  -PG_HOST:	Host
	text
	Default: localhost
  -PG_PORT:	Port
	integer number
	Minimum: 0
	Default: 5432
  -PG_DB:  	Database
	text
	Default: dbname
  -PG_USER:	User
	text
	Default: postgres
  -PG_PWD: 	Password
	text
	Default: postgres