fixed pgsql test error, refs #106