test fix for postgres