Handling notices, warnings, etc.
"Joel Nothman" <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
I am executing some PL/PGSQL scripts through a psycopg interface. During processing, my script outputs a number of notices. How can I have these notices printed when the procedure is executed through psycopg. (There seems to be some concept of notice processing in the source, but I haven't worked out how to access it through Python, and it doesn't seem to be documented.) Even better, how can I enable the handling of notices when accessing the connection through Django? - Joel