Spatio-temporal trajectory functions beyond the built-in PostGIS temporal support (https://postgis.net/docs/reference.html#Temporal)