Fiexd typo on Postgresql tools check function call

@Kloadut there was a typo in my last pull request which called the PostgreSQL function with the wrong name. Sorry about that. I'll write some tests when I can.