Spatio-temporal trajectory functions beyond the built-in PostGIS temporal support (https://postgis.net/docs/reference.html#Temporal)
As described in https://anitagraser.com/2018/07/19/movement-data-in-gis-15-writing-a-pl-pgsql-stop-detection-function-for-postgis-trajectories/