MobilityDB 1.1
|
◆ pg_timestamp_pl_interval()
Add an interval to a timestamp data type. Note that interval has provisions for qualitative year/month and day units, so try to do the right thing with them. To add a month, increment the month, and use the same day of month. Then, if the next month has fewer days, set the day of month to the last day of month. To add a day, increment the mday, and use the same time of day. Lastly, add in the "quantitative time".
|