philipsoutham/py-mysql2pgsql — pull request #18 by robbyt (2012-08-01 07:40:03+00:00)
Title: add newline to the front of the string

added a first_row variable, so that a newline is added to the front of each row, but not the first. This is required because the \. needs to be on the same line as the last line of the copy from stdin block of data when importing blobs.