Kyle Bateman <kyle(at)actarg(dot)com> writes:> Is there an easy way to get postgres to > spit out the SQL statement it was parsing when it generated the error?
"log_min_error_statement = error" is what you're looking for.
regards, tom lane