Copying a Configuration
Copy an existing OCI Database with PostgreSQL database system configuration so that its variables and extensions can be updated.
Use the
oci psql configuration create
command and required parameters with existing information fromoci psql default-configuration get
to copy a default configuration:oci psql default-configuration get --configuration-id <configuration_OCID> [OPTIONS]
oci psql configuration create --compartment-id <compartment_OCID> [OPTIONS]
Use
--db-configuration-overrides
along with a key ofoci.allowed_extensions
to enable extensions for the configuration. For more information, see Supported PostgreSQL Extensions for OCI Database with PostgreSQL.For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the CreateConfiguration operation with existing information to copy a configuration.
Use
dbConfigurationOverrides
along with aconfigKey
ofoci.allowed_extensions
to enable extensions. For more information, see Supported PostgreSQL Extensions for OCI Database with PostgreSQL.For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.