dictlike polymophic example doesn't work on a real database (i.e. postgres)

Issue #2266 resolved
Former user created an issue

When you attempt to run dictlike-polymorphic.py against a postgresql database, you get a cast error. Casting the entire case statement doesn't work on databases where the case results have to match types.

I'll attach a patch that fixes the cast in the Comparator object.

I'm using SA 0.6, but it would affect 0.7 as well.

Comments (4)

  1. Log in to comment