On Wed, Oct 04, 2006 at 09:03:50AM +0200, Brendon Gleeson wrote:
> Basically what I want to do is simulate a data import (from a file with
> full insert statements and no table creation), I want the offending
> record/line to be printed to stdout with a verbose / helpful error.
This doesn't quite meet your requirements, but have you looked at
pgloader?
http://pgfoundry.org/projects/pgloader/
--
Michael Fuhr