Details

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

    Description

      The output format of the interval type can be set to one of the four styles sql_standard, postgres, postgres_verbose, or iso_8601, using the command SET intervalstyle, see
      https://www.postgresql.org/docs/11/datatype-datetime.html#DATATYPE-INTERVAL-OUTPUT

      Style Specification Year-Month Interval Day-Time Interval Mixed Interval
      sql_standard 1-2 3 4:05:06 -1-2 +3 -4:05:06
      postgres 1 year 2 mons 3 days 04:05:06 -1 year -2 mons +3 days -04:05:06
      postgres_verbose @ 1 year 2 mons @ 3 days 4 hours 5 mins 6 secs @ 1 year 2 mons -3 days 4 hours 5 mins 6 secs ago
      iso_8601 P1Y2M P3DT4H5M6S P-1Y-2M3DT-4H-5M-6S

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: