I told it was almost dynamic because it uses DateValue from an object oranother, depending on value of staus key.
--Sent from: https://www.postgresql-archive.org/PostgreSQL-general-f1843780.html