Fix some parsing issue with log generated by pg 7.4