PgSQL and double quotes...

karacim at my-deja.com karacim at my-deja.com
Tue Dec 12 07:56:43 CET 2000


Hi,
PgSQL doesn't seem to like the data that is
sometimes in binary format and in somecases
includes double/single quotes (ie "" or '' etc..)
which causesng PgSQL to invoke parsing error...!

I wrote a simple class before the execute sintax
as :
  string.join(string.split(text, "'"), "''")
but that still doesnt get rid of this "parsing
error" from PgSQL... anyone has any ideas?

thx

Aus


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list