#25487: Add support for months and years in INTERVAL field of PostgreSQL
------------------------------------+--------------------------------------
     Reporter:  liminspace          |                    Owner:  liminspace
         Type:  New feature         |                   Status:  new
    Component:  contrib.postgres    |                  Version:  master
     Severity:  Normal              |               Resolution:
     Keywords:  postgres, interval  |             Triage Stage:  Unreviewed
    Has patch:  0                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+--------------------------------------

Comment (by liminspace):

 Month is not a static value that you can convert to bigint.
 See example:
 TIMESTAMP '2001-02-02' + INTERVAL '1 month' = TIMESTAMP '2001-03-02'
 TIMESTAMP '2001-02-02' + INTERVAL '31' days' = TIMESTAMP '2001-03-05'

--
Ticket URL: <https://code.djangoproject.com/ticket/25487#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.11f24f40edc5e7bb91338330e24e2a3a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to