この関数は、軌跡オブジェクトの期間を返します。

構文

interval ST_duration(trajectory traj);

パラメーター

パラメーター  説明 
traj 軌跡オブジェクト

select st_duration(traj) from traj where id = 2;
 st_duration 
-------------
 00:42:10
(1 row)