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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.