[storm] psycopg2-2.2, Storm, and ENUMs
Dan Halbert
halbert at halwitz.org
Tue May 25 03:26:11 BST 2010
On 05/24/2010 09:11 PM, James Henstridge wrote:
> My point here is that the enumeration value names are effectively text
> rather than encoded binary data. So our Unicode type is probably a
> better fit than the RawStr type, and would probably work with current
> psycopg2.
>
You're right: I just tried using Unicode() with a string ENUM "CREATE
TYPE" and it worked just fine on with psycopg2-2.0 and -2.2. I'm not
sure what possessed me to use RawStr() previously; maybe I was just
trying to avoid the "u" in u'...'. Thanks for your patience.
Dan
More information about the storm
mailing list