{{{
ProgrammingError: operator does not exist: character varying[] @> text[]
LINE 1: ...el" WHERE "postgres_tests_chararraymodel"."field" @> ARRAY['...
^
HINT: No operator matches the given name and argument type(s). You might
need to add explicit type casts.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22907>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
Created a failing test in a pull request
https://github.com/django/django/pull/2853
--
Ticket URL: <https://code.djangoproject.com/ticket/22907#comment:1>
* 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>
* severity: Release blocker => Normal
Comment:
This ticket doesn't block 1.7, probably doesn't block 1.8, and will most
likely be fixed by then.
--
Ticket URL: <https://code.djangoproject.com/ticket/22907#comment:3>
* has_patch: 0 => 1
Comment:
PR: https://github.com/django/django/pull/2924
--
Ticket URL: <https://code.djangoproject.com/ticket/22907#comment:4>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/22907#comment:5>
* owner: => Marc Tamlyn <marc.tamlyn@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"b65a2001e7be3811903fc8769fa4d3df3d324f18"]:
{{{
#!CommitTicketReference repository=""
revision="b65a2001e7be3811903fc8769fa4d3df3d324f18"
Fixed #22907 -- Array contains must have same type.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/22907#comment:6>