#22907: ArrayField querying doesn't work with CharField
----------------------------------+------------------------------------
     Reporter:  Suor              |                    Owner:
         Type:  Bug               |                   Status:  new
    Component:  contrib.postgres  |                  Version:  master
     Severity:  Release blocker   |               Resolution:
     Keywords:                    |             Triage Stage:  Accepted
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+------------------------------------
Changes (by charettes):

 * stage:  Unreviewed => Accepted


Comment:

 I could reproduce with provided test case on PostgreSQL 9.3.4.

 Interestingly I'm also getting a failure on
 `postgres_tests.test_array.TestSaveLoad.test_dates`:

 {{{
 ProgrammingError: column "field" is of type timestamp with time zone[] but
 expression is of type text[]
 LINE 1: ...tgres_tests_datetimearraymodel" ("field") VALUES (ARRAY['201...
                                                              ^
 HINT:  You will need to rewrite or cast the expression.
 }}}

 @Suor Which version of PostgreSQL are you using?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22907#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/062.6315aae77b92ae3943a0e6ed4c217c65%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to