Postgres Clusters

Enable Extension

Enable a Postgres extension within a specific database. PostGIS extensions require a PostGIS-enabled cluster.

post/v1/postgres/{postgres_cluster_id}/databases/{database_name}/extensions

Path parameters

postgres_cluster_idstring required

Managed Postgres Cluster ID

database_namestring required

Database Name

Request body

create_schemaboolean

Create the schema first if it does not exist.

namestring required

Extension to enable.

schemastring

Schema to install the extension into. Defaults to the database's default schema.

Example request

{
  "name": "citext"
}

Response

No Content

Changes

Changed in 1 of the 8 revisions of this API.1