Import Table from Query
- Author: O.Conrad (c) 2013
- Menu: Database | PostgreSQL | Tables
Description
Import a SQL table from a PostgreSQL database.
Parameters
Name | Type | Identifier | Description | Constraints | |
---|---|---|---|---|---|
Output | Query Result | table, output | TABLE | - | - |
Options | Host | text | PG_HOST | - | Default: 127.0.0.1 |
Port | integer number | PG_PORT | - | Minimum: 0 Default: 5432 | |
Database | text | PG_DB | - | - | |
User | text | PG_USER | - | - | |
Password | text | PG_PWD | - | - | |
Tables | text | TABLES | - | - | |
Fields | text | FIELDS | - | - | |
Where | text | WHERE | - | - | |
Group by | text | GROUP | - | - | |
Having | text | HAVING | - | - | |
Order by | text | ORDER | - | - | |
Distinct | boolean | DISTINCT | - | Default: 0 |
Command Line
Usage: saga_cmd db_pgsql 15 [-PG_HOST] [-PG_PORT ] [-PG_DB ] [-PG_USER ] [-PG_PWD ] [-TABLE ] [-TABLES ] [-FIELDS ] [-WHERE ] [-GROUP ] [-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 -TABLES: Tables text -FIELDS: Fields text -WHERE: Where text -GROUP: Group by text -HAVING: Having text -ORDER: Order by text -DISTINCT: Distinct boolean Default: 0