in reply to Inserting into SQL

be careful that there aren't any null characters (0x00) getting into it. i've seen this be a problem with DBI::Pg before. at some point after quoting, if a null character is in the sql statement, some C library somewhere sees that as the end of the string and dies.

but, as others have pointed out, some more code would probably make the problem much easier to diagnose.

anders pearson