Ahhh, that explains it.  In my example, I had already removed the crud
at the beginning of each line.

For anyone else looking to do something similar, you can configure
postgres.conf to log the queries it recieves and I get the following
in the log file
:
LOG:  statement: UPDATE students SET custom_200000004='17-JAN-85'
WHERE students.student_id = 514

I'll still have to trim the beginning of each line, but it's usable.
Thanks for the help.

Brian


On 1/5/07, Michael Bayer <[EMAIL PROTECTED]> wrote:

every other line is a repr() of the bind parameter dictionary sent to
the query, so you probably want to grab those separately (they are sent
as distinct log lines - not sure why they are munged together in your
example above).  the query itself is using bind parameters in
psycopg2's configured bind param format, "pyformat".  thats what SA is
sending to the database.


>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to