20-db-bootstrap-procs.tcl


Procedures in this file

Detailed information

db_available_pools (public)

 db_available_pools dbn

Returns a list of the available pools for the given database name.

We define this here in 20-db-bootstrap-procs.tcl rather than acs-tcl/tcl/00-database-procs.tcl, as we also need to call it from db_bootstrap_set_db_type, below, and from db_bootstrap_checks, before all the rest of the db_* API code in 00-database-procs.tcl is sourced.

Parameters:
dbn (required)
The database name to use. If empty_string, uses the default database.
Author:
Andrew Piskorski <atp@piskorski.com>
Created:
2003/03/16

Partial Call Graph (max 5 caller/called nodes):
%3 test_db__database_interface db__database_interface (test acs-bootstrap-installer) db_available_pools db_available_pools test_db__database_interface->db_available_pools db_bootstrap_set_db_type db_bootstrap_set_db_type (private) db_bootstrap_set_db_type->db_available_pools db_bounce_pools db_bounce_pools (public) db_bounce_pools->db_available_pools db_get_database db_get_database (public) db_get_database->db_available_pools db_get_dbhost db_get_dbhost (public) db_get_dbhost->db_available_pools db_get_password db_get_password (public) db_get_password->db_available_pools

Testcases:
db__database_interface

db_bootstrap_set_db_type (private)

 db_bootstrap_set_db_type errors
Parameters:
errors (required)
Name of variable in caller's space that should receive error messages. Determine which database engine the user's configured, and do db-independent errors checking. The "errors" param hack should change eventually, I don't have time at the moment to change how the bootstrapper communicates database problems to the installer.
Author:
Don Baccus <dhogaza@pacifier.com>

Partial Call Graph (max 5 caller/called nodes):
%3 db_available_pools db_available_pools (public) db_bootstrap_set_db_type db_bootstrap_set_db_type db_available_pools->db_bootstrap_set_db_type packages/acs-bootstrap-installer/bootstrap.tcl packages/acs-bootstrap-installer/ bootstrap.tcl packages/acs-bootstrap-installer/bootstrap.tcl->db_bootstrap_set_db_type db_pool_to_dbn_init db_pool_to_dbn_init (private) db_bootstrap_set_db_type->db_pool_to_dbn_init

Testcases:
No testcase defined.

db_pool_to_dbn_init (private)

 db_pool_to_dbn_init

Simply initializes the db_pool_to_dbn nsv, which is used by "db_driverkey -handle".

Author:
Andrew Piskorski <atp@piskorski.com>
Created:
2003/04/09
See Also:

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

Testcases:
No testcase defined.
[ show source ]