Class PgServiceConfParser

java.lang.Object
org.postgresql.jdbcurlresolver.PgServiceConfParser

public class PgServiceConfParser extends Object
helps to read Connection Service File. https://www.postgresql.org/docs/current/libpq-pgservice.html
  • Method Details

    • getServiceProperties

      public static @Nullable Properties getServiceProperties(String serviceName)
      Read pg_service.conf resource
      Parameters:
      serviceName - service name to search for
      Returns:
      key value pairs