exist() didn't work for postgres.