This topic describes how to view the version of Babelfish that is enabled for an ApsaraDB RDS for PostgreSQL instance. You can connect your application to the RDS instance over the Tabular Data Stream (TDS) port or PostgreSQL port to view the version.
Prerequisites
- An ApsaraDB RDS for PostgreSQL instance for which Babelfish is enabled is created. For more information, see Enable Babelfish for an ApsaraDB RDS for PostgreSQL instance.
- A Babelfish account is created. For more information, see Create a Babelfish account to connect to an ApsaraDB RDS for PostgreSQL instance with Babelfish enabled.
- A whitelist is configured to allow the server on which your client resides to access the RDS instance. For more information, see Configure an IP address whitelist for an ApsaraDB RDS for PostgreSQL instance.
- The endpoints and TDS port of the RDS instance are obtained. For more information, see View the endpoints and TDS port.
- sqlcmd and psql are installed.
Note In this topic, the sqlcmd command-line tool is used to connect to the RDS instance over the TDS port, and psql is used to connect to the RDS instance over the PostgreSQL port. For more information, see Use clients to connect to an ApsaraDB RDS for PostgreSQL instance with Babelfish enabled and Connect to an ApsaraDB RDS for PostgreSQL instance.