Fixed a typo in pgsql class.