db_get_dbhost (public)

 db_get_dbhost [ -dbn dbn ]

Defined in packages/acs-tcl/tcl/01-database-procs.tcl

PostgreSQL only.

Switches:
-dbn (optional)
The database name to use. If empty_string, uses the default database.
Returns:
the name of the database host from the first database pool. It assumes the datasource is properly formatted since we've already verified that we can connect to the pool.

Partial Call Graph (max 5 caller/called nodes):
%3 db_available_pools db_available_pools (public) db_get_dbhost db_get_dbhost db_get_dbhost->db_available_pools

Testcases:
No testcase defined.
[ show source ]
Show another procedure: