I
I
impressive172020-05-13 21:23:11
PostgreSQL
impressive17, 2020-05-13 21:23:11

Is it possible to reset a flag in PostgreSQL when time expires?

I need to implement a counter so that after a certain point in time, after adding to the database, the record is set or, conversely, the flag is reset, that is, so that it can be tracked that a certain amount of time has passed since the record was added to the database. How to do it in PostgreSQL?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-05-13
@bacon

Why a flag? Keep track of when an entry was added or another desired date.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question