check_postgres.pl --action query_time -c 30 -w 10 returns the sql statement in the output.
I am not sure if its possible that data is displayed e.g. when using insert, update if the command takes too long.
Is this a possible problem?
If yes: A switch to shorten the output to the first word (insert, update) for statements which could show data would be nice.