07-20-2023, 08:39 AM
Is there any way to set some sort of "expiry" time on data entries in [PostgreSQL][1]? I'm thinking about something equivalent to [`EXPIRE` in Redis][2].
I'm not looking to store a timestamp and then manually code some sort of [cron][3] job to check what entries have expired.
I'm trying to find out if there's any native feature in PostgreSQL that would provide this kind of functionality, or if it would make sense to request such feature for future releases.
[1]:
I'm not looking to store a timestamp and then manually code some sort of [cron][3] job to check what entries have expired.
I'm trying to find out if there's any native feature in PostgreSQL that would provide this kind of functionality, or if it would make sense to request such feature for future releases.
[1]:
[To see links please register here]
[2]:[To see links please register here]
[3]:[To see links please register here]