> So, rec[0] is an instance, but an instance of what? Since I needed to > use the PgSQL.PgBytea method on the image before inserting it into the > database, do I need to use a similar method to undo what PgBytea did to > it, or am I incorrectly writing this binary data? I tried > PgSQL.PgUnQuoteBytea(rec[0]), but that didn't work.
What does print rec[0] give you? -- Regards, Diez B. Roggisch -- http://mail.python.org/mailman/listinfo/python-list