Re: Wierd "ProgrammingError" with "E" string prefix
Hartmut Goebel <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Organization | Goebel Consult |
| Message-ID | <[email protected]> |
Karsten Hilbert schrieb: > Nonetheless, the E'bar' *inside* it is going to be > interpreted by PostgreSQL as a "string", in particular one > with C-like escapes: > >http://www.postgresql.org/docs/8.3/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS > > That's why psycopg2 generates E''s. IC. Thanks for the explanation. So I "simply" need to quote my table an column names. -- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de _______________________________________________ Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/[email protected] http://lists.initd.org/mailman/listinfo/psycopg
smime.p7s
(application/x-pkcs7-signature, 4.6 KB) - not displayed