SAGA-GIS Tool Library Documentation (v8.5.1)

Tool Commit/Rollback Transaction

Execute a commit or rollback on open transactions with PostgreSQL source.

Parameters

 NameTypeIdentifierDescriptionConstraints
OptionsHostText, CMDPG_HOSTPassword-
PortInteger, CMDPG_PORT-Minimum: 0
Default: 5432
DatabaseText, CMDPG_NAMEDatabase Name-
UserText, CMDPG_USERUser Name-
PasswordText, CMDPG_PWDPassword-
Available ConnectionsChoice, GUICONNECTION-Available Choices:
Default: 0
TransactionsChoiceTRANSACT-Available Choices:
[0] rollback
[1] commit
Default: 1
Save PointTextSAVEPOINT--

Command-line

Usage: saga_cmd db_pgsql 5 [-PG_HOST <str>] [-PG_PORT <num>] [-PG_NAME <str>] [-PG_USER <str>] [-PG_PWD <str>] [-TRANSACT <str>] [-SAVEPOINT <str>]
  -PG_HOST:<str>  	Host
	Text, CMD
  -PG_PORT:<num>  	Port
	Integer, CMD
	Minimum: 0
	Default: 5432
  -PG_NAME:<str>  	Database
	Text, CMD
  -PG_USER:<str>  	User
	Text, CMD
  -PG_PWD:<str>   	Password
	Text, CMD
  -TRANSACT:<str> 	Transactions
	Choice
	Available Choices:
	[0] rollback
	[1] commit
	Default: 1
  -SAVEPOINT:<str>	Save Point
	Text