CARIS HPD : CARISĀ® Batch : HPD Admin Processes : Create HPD Postgres Schema
 

Create HPD Postgres Schema

The CreateHPDPostgresSchema process creates a new HPD PostgreSQL schema.

Input

None

Output

Output file

Command Line Syntax

carisbatch --run CreateHPDPostgresSchema [options] <output>

Options

Long

Short

Description

Can Repeat

Notes

--host

 

Name of the PostgreSQL server host.

FALSE

Required

--DBA-Username

 

Name of the PostgreSQL server database administration.

FALSE

Required

--DBA-Password

 

Password for the PostgreSQL server database administration.

FALSE

Required

--HPD-Username

 

HPD schema owner user name that is being created for PostgreSQL.

FALSE

Required

--HPD-Password

 

Password for the HPD schema owner user name for PostgreSQL.

FALSE

Required

--iho-agency-code

-a

Producing agency code.

FALSE

Required

Example

Example

Objective

Create a new HPD schema in PostgreSQL.

Description

Command Line Syntax

Server host name is PostgresDB.

--host PostgresDB

DBA user name is username.

--DBA-Username username

DBA password is password.

--DBA-Password password

User name for the HPD schema owner is new_user.

--HPD-Username new_user

Password for the user name for the HPD schema owner is new_user_password.

--HPD-Password new_user_password

Producing agency code is 1C.

--iho-agency-code 1C

Output file.

logFile.txt

Command Line

carisbatch --run CreateHPDPostgresSchema --host PostgresDB --DBA-Username username --DBA-Password password --HPD-Username new_user --HPD-Password new_user_password --iho-agency-code 1C logFile.txt