postgres.client-implement utilities functions