discovery for postgres db