postgresql array literal constructor wrong for un-wrapped comparisons

Issue #3141 resolved
Mike Bayer repo owner created an issue

e.g.:

array([1, 2, 3]) > [4, 5, 6]

this is in _bind_param(), the tuple constructor uses * but array() does not.

Comments (4)

  1. Mike Bayer reporter
    • Fixed bug in :class:.postgresql.array object where comparison to a plain Python list would fail to use the correct array constructor. Pull request courtesy Andrew. fixes #3141

    → <<cset d92177cede95>>

  2. Mike Bayer reporter
    • Fixed bug in :class:.postgresql.array object where comparison to a plain Python list would fail to use the correct array constructor. Pull request courtesy Andrew. fixes #3141

    → <<cset a8dcdb9b2806>>

  3. Log in to comment