Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.1.0
    • None
    • SQL
    • None

    Description

      PostgreSQL allow to specify direction in interval string by the `ago` word:

      maxim=# select interval '@ 1 year 2 months 3 days 14 seconds ago';
                    interval              
      ------------------------------------
       -1 years -2 mons -3 days -00:00:14
      

       See https://www.postgresql.org/docs/current/datatype-datetime.html#DATATYPE-INTERVAL-INPUT

      Attachments

        Activity

          People

            Unassigned Unassigned
            maxgekk Max Gekk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: