Conversion of empty arrays

From: Benjamin <ikipou(at)gmail(dot)com>
To: psycopg(at)postgresql(dot)org
Subject: Conversion of empty arrays
Date: 2011-02-20 01:49:05
Message-ID: AANLkTiky_80f=7_uHXwQeocc3rYag7C+JNGw0kjJipuz@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

Hello,

The commit 89e4d4c7bb9534711c03df054f90fcad4787d209 caused some havoc on my
code because comparisons involving empty arrays were failing due to
incorrect types.

I quickly hacked something to fix the regression, the patch is attached to
this mail. I would like this regression to be fixed upstream, it the mailing
list the right way to submit patches?

cheers,
Benjamin

Attachment Content-Type Size
0001-Add-a-type-converter-to-handle-untyped-empty-arrays.patch application/octet-stream 4.7 KB

Responses

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2011-02-20 11:32:28 Re: Conversion of empty arrays
Previous Message Federico Di Gregorio 2011-02-17 12:44:36 Re: Proposal: efficient iter on named cursors