Database Command Configuration
The configuration settings for the database
command are divided into:
-
"createDatabaseOptions"
for creating a new VCDB instance, -
"upgradeDatabaseOptions"
for upgrading an existing VCDB instance, and -
"dropDatabaseOptions"
for dropping a VCDB instance.
The names and purposes of the JSON properties align closely with their counterparts in the command-line options. Where applicable, the description of each JSON property links to the command-line option for more details. |
Create database options
The example below illustrates the JSON structure for the create database options.
{
"createDatabaseOptions": {
"client": "/usr/bin/psql",
"timeout": 60,
"srid": 25832,
"srsName": "urn:ogc:def:crs:EPSG::25832",
"enableChangelog": false,
"dropExisting": false
}
}
Property | Description | Default value |
---|---|---|
Path to the database client executable. |
Client found in your |
|
Time in seconds to wait for the operation to complete. |
60 |
|
SRID to use for the VCDB instance. |
||
Name of the CRS to use for the VCDB instance. |
urn:ogc:def:crs:EPSG:: |
|
Enable changelog extension for the VCDB instance. |
|
|
First drop the existing VCDB instance. |
|
Upgrade database options
The JSON structure for specifying database upgrade options is shown below.
{
"upgradeDatabaseOptions": {
"client": "/usr/bin/psql",
"timeout": 60
}
}
Property | Description | Default value |
---|---|---|
Path to the database client executable. |
Client found in your |
|
Time in seconds to wait for the operation to complete. |
60 |
Drop database options
Below is the JSON structure for specifying database drop options.
{
"upgradeDatabaseOptions": {
"client": "/usr/bin/psql",
"timeout": 60
}
}
Property | Description | Default value |
---|---|---|
Path to the database client executable. |
Client found in your |
|
Time in seconds to wait for the operation to complete. |
60 |