[mod_python] newbie question regarding postgresql

sandor.kopanyi at mailbox.hu sandor.kopanyi at mailbox.hu
Fri Apr 19 10:53:40 EST 2002


Try to put backslashes inside the SQL-string, like this (see
end of each line):

>         curs.execute(""" SELECT relname as tablename 
>                          , pg_get_userbyid(relowner) AS tableowner 
>                          , relhasindex as hasindexes 
etc.

--------------------------------------------------
http://www.mailbox.hu - Mert levelezni kell...




More information about the Mod_python mailing list