#23807: Postgres backend throws error when coercing psycopg2 version string to 
int
when version contains non-numeric characters
-------------------------------------+-------------------------------------
     Reporter:  ryanbagwell          |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  master
  (models, ORM)                      |               Resolution:
     Severity:  Normal               |             Triage Stage:  Accepted
     Keywords:                       |      Needs documentation:  0
    Has patch:  0                    |  Patch needs improvement:  0
  Needs tests:  0                    |                    UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
Changes (by timgraham):

 * needs_docs:   => 0
 * needs_better_patch:   => 0
 * version:  1.7 => master
 * needs_tests:   => 0
 * stage:  Unreviewed => Accepted


Comment:

 It seems like a reasonable request. You could look at the strategies use
 by other database backends in Django (regular expressions in MySQL, for
 example). It might also be fine simply to discard the value that can't be
 parsed.

--
Ticket URL: <https://code.djangoproject.com/ticket/23807#comment:1>
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/069.f99870935bf8562445afedfd11e725ba%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to