Update pgformatter.rb

Made requested changes.