Is there any way to set some sort of \"expiry\" time on data entries in PostgreSQL? I\'m thinking about something equivalent to EXPIRE in Redis.
I\'m not looking to
No. There is no such feature.
I can't see what it does more than either (1) just an "expired" timestamp does or (2) timestamp + cron-job/pgAgent.
It doesn't sound like a general feature that would be added to the core. You could quite simply code an extension to handle this sort of thing, with either a tick called from a cron-job or perhaps a background-worker process.
I don't see anything on pgxn, so presumably there's not been much demand for it yet.