All Products
Search
Document Center

PolarDB:Create extensions

Last Updated:Mar 28, 2026

Before you can use Ganos features, you must create the corresponding extensions in your database.

Create an extension using CASCADE

Run the following statement to create the ganos_trajectory extension. The CASCADE option automatically installs all dependency extensions (ganos_spatialref and ganos_geometry) in the correct order.

CREATE EXTENSION ganos_trajectory CASCADE;

Create extensions without CASCADE

If your database engine version does not support the CASCADE syntax, install the three extensions manually in dependency order:

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