Re: How to implement expiration in PostgreSQL?

From: Glen Huang <heyhgl(at)gmail(dot)com>
To: Tim Clarke <tim(dot)clarke(at)minerva(dot)info>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: How to implement expiration in PostgreSQL?
Date: 2021-04-01 14:23:42
Message-ID: 84B9E291-6583-48D2-B89D-CF9B971374E8@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I'd say that was onerous and you could get the same effect with a
well-crafted query that targetted only those that might possibly expire.

I wish one cron job could rule them all, but since a person can decide to join at any time, her expiration (e.g., after 1 hour) can also happen at any time. So one cron job won’t cut it if a member’s expiration has to bee accurate.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tim Clarke 2021-04-01 14:31:53 Re: How to implement expiration in PostgreSQL?
Previous Message Tim Clarke 2021-04-01 14:15:25 Re: How to implement expiration in PostgreSQL?