in reply to Re^3: Escaping SQL correctly
in thread Escaping SQL correctly

Thanks!

I'll probably go with this solution, and if I can't get it to work I'll just install another copy of Postgres and use the template1 database and the quote method. I can write a wrapper that does the placeholder-style operation on my own, I think.

Your help is much appreciated!