> > Wouldn't selecting the sql logger and logging the comment provide you > the same information? >
You'd only be able to push a comment into Python's log, but not into Postgres/Mysql/Oracle/etc. placing a comment into the sql allows one to grep the database logs, or use the database profiling. this would also provide existing python debug tools that use the sql logger ( like the pyramid & flash toolbars ) to display information about the queries alongside them, without any other effort. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at http://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/groups/opt_out.