psycopg uses a Postgres provided routine to escape the strings, which is 
aware of what version of postgres is at the other end of the connection 
(apparently since library shipped with 8.1.4, if I can read the source 
correctly): Link to relevant psycopg file is 
here<https://dndg.it/cgi-bin/gitweb.cgi?p=public/psycopg2.git;a=blob;f=psycopg/utils.c;h=2e81c11366f85345d35e6e465978b6f3edb96197;hb=f8ff2ccc49ec32614d42ee852f2fd02fd538e6e5#l36>
.

Massimo - thanks again for web2py, and for running the project so awesomely!

Reply via email to