Split sql files into statements for postgresql

http://www.postgresql.org/message-id/1139220066.24321.188.camel@coppola.muc.ecircle.de