All Products
Search
Document Center

ApsaraDB RDS:Create extensions

Last Updated:Oct 09, 2026

Extensions must be created before their features are available. PolarDB for PostgreSQL supports two methods for creating extensions that have dependencies.

Create an extension with CASCADE

Use CASCADE to automatically create all dependent extensions in a single statement:

CREATE EXTENSION ganos_trajectory CASCADE;

Create extensions manually

If your database engine version does not support the CASCADE syntax, create each extension separately in dependency order:

CREATE EXTENSION ganos_spatialref;
CREATE EXTENSION ganos_geometry;
CREATE EXTENSION ganos_trajectory;