SAGA-GIS Tool Library Documentation (v7.2.0)

Tool Connect to PostgreSQL

Connect to PostgreSQL data source.

Parameters

 NameTypeIdentifierDescriptionConstraints
OptionsHostTextPG_HOST-Default: localhost
PortIntegerPG_PORT-Minimum: 0
Default: 5432
UserTextPG_USER-Default: postgres
PasswordTextPG_PWD-Default: postgres
DatabaseTextPG_NAME--
DatabaseChoicePG_LIST-Available Choices:
Default: 0

Command-line

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