All Products
Search
Document Center

PolarDB:ST_IsExternal

Last Updated:Mar 28, 2026

Checks whether the data of a trajectory object is stored in Object Storage Service (OSS).

Warning

This function is not supported in later versions. Use Cold data tiered storage instead.

Syntax

bool ST_IsExternal(trajectory traj);

Parameters

ParameterDescription
trajThe trajectory object.

Return value

Returns t if the data of the specified trajectory object is stored in OSS. Otherwise, returns f.

Examples

SELECT ST_IsExternal(traj) FROM trajs;
 st_isexternal
---------------
 t
 t
 t
 f
 t
(5 rows)