Changes between Initial Version and Version 1 of Ticket #31910, comment 3


Ignore:
Timestamp:
Aug 19, 2020, 2:38:07 PM (4 years ago)
Author:
Eran Keydar

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31910, comment 3

    initial v1  
    11These are the queries from django 2.2 and django 3.1
     2
     32.2:
     4
     5
     6{{{
     7{'sql': 'SELECT ST_Union("__col1")::bytea FROM (SELECT DISTINCT "core_polymodel"."id" AS Col1, "core_polymodel"."name" AS Col2, "core_polymodel"."geom" AS Col3, "core_polymodel"."geom" AS "__col1" FROM "core_polymodel") subquery',
     8 'time': '0.001'}
     9
     10}}}
     11
     123.1
     13
     14
     15{{{
     16{'sql': 'SELECT ST_Union("__col1") FROM (SELECT DISTINCT "core_polymodel"."id" AS Col1, "core_polymodel"."name" AS Col2, "core_polymodel"."geom" AS Col3, "core_polymodel"."geom" AS "__col1" FROM "core_polymodel") subquery',
     17 'time': '0.001'}
     18}}}
     19
     20So it seems that the problem is the missing ::bytea casting
Back to Top