java.lang.Object
org.odpi.openmetadata.adapters.connectors.postgres.utilities.PostgresUtils

public class PostgresUtils extends Object
PostgresUtils provides simple functions to work with Postgres names and connection strings
  • Constructor Details

    • PostgresUtils

      public PostgresUtils()
  • Method Details

    • getDatabaseURL

      public static String getDatabaseURL(String databaseServerURL, String databaseName)
      Convert the connection string for the database server into a connection string for the database.
      Parameters:
      databaseServerURL - connection string used to connect to the postgres database
      databaseName - name of the database
      Returns:
      connection string