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


-- 
storm mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/storm

Reply via email to