[Python-Dev] BLOBs in Pg (original) (raw)
Steve Holden steve at holdenweb.com
Thu Apr 9 20:05:54 CEST 2009
- Previous message: [Python-Dev] BLOBs in Pg (was: email package Bytes vs Unicode)
- Next message: [Python-Dev] BLOBs in Pg
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Oleg Broytmann wrote:
On Thu, Apr 09, 2009 at 01:14:21PM -0400, Tony Nelson wrote:
I use MySQL, but sort of intend to learn PostgreSQL. I didn't know that PostgreSQL has no real support for BLOBs. I think it has - BYTEA data type. But the Python DB adapters appears to require some fairly hairy escaping of the data to make it usable with the cursor execute() method. IMHO you shouldn't have to escape data that is passed for insertion via a parameterized query.
regards Steve
Steve Holden +1 571 484 6266 +1 800 494 3119 Holden Web LLC http://www.holdenweb.com/ Watch PyCon on video now! http://pycon.blip.tv/
- Previous message: [Python-Dev] BLOBs in Pg (was: email package Bytes vs Unicode)
- Next message: [Python-Dev] BLOBs in Pg
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]