Splits a SQL script into separate SQL statements, suitable for preprocessing or for burning into a binary.
The sqlsplitproject is a PostgreSQL Community project that is a part of the pgFoundry.
The pgFoundry page for the project is at http://pgfoundry.org/projects/sqlsplit, where you can find downloads, documentation, bug reports, mailing lists, and a whole lot more.