Sorry for the late response.  I've been travelling internationally and
am just getting back to work.

So--thank you to everyone who responded!

To answer everyone's question---- I am dumping all of the data from a
mysql database, then creating a postgresql database, then inserting
the data into the new postgresql database.

This seems to be a reasonable way to do it, because all I have to do
is double my 's and my \s (I hope).

Thanks


On Apr 21, 7:12 pm, Michael Torrie <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Hi...
>
> > Here's a weird problem...I'm trying to escape a bunch of data to put
> > into a database.
>
> Is it possible to use the database API and prepared statements to avoid
> having to go through this exercise?  Also, most database APIs work
> natively in unicode, so creating your prepared statement and then
> passing in each parameter as an argument saves a lot of hassle, since
> the API's usually decode the unicode strings automatically.

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to