SAGA 9.6.1 | Tool Library Documentation

Import Table from Query (GUI)


Description

Import a SQL table from a PostgreSQL database.


Parameters

 NameTypeIdentifierDescriptionConstraints
OutputQuery Resulttable, outputTABLE--
OptionsHosttextPG_HOST-Default: 127.0.0.1
Portinteger numberPG_PORT-Minimum: 0 Default: 5432
DatabasetextPG_DB--
UsertextPG_USER--
PasswordtextPG_PWD--
WheretextWHERE--
HavingtextHAVING--
Order bytextORDER--
DistinctbooleanDISTINCT-Default: 0

Command Line


Usage: saga_cmd db_pgsql 16 [-PG_HOST ] [-PG_PORT ] [-PG_DB ] [-PG_USER ] [-PG_PWD ] [-TABLE ] [-WHERE ] [-HAVING ] [-ORDER ] [-DISTINCT ]
  -PG_HOST: 	Host
	text
	Default: 127.0.0.1
  -PG_PORT: 	Port
	integer number
	Minimum: 0
	Default: 5432
  -PG_DB:   	Database
	text
  -PG_USER: 	User
	text
  -PG_PWD:  	Password
	text
  -TABLE:   	Query Result
	table, output
  -WHERE:   	Where
	text
  -HAVING:  	Having
	text
  -ORDER:   	Order by
	text
  -DISTINCT:	Distinct
	boolean
	Default: 0