|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-1d1e47ad9d
|
DBMI Library (client) - open/close driver/database connection. More...

Go to the source code of this file.
Functions | |
| dbDriver * | db_start_driver_open_database (const char *drvname, const char *dbname) |
| Open driver/database connection. | |
| int | db_close_database_shutdown_driver (dbDriver *driver) |
| Close driver/database connection. | |
DBMI Library (client) - open/close driver/database connection.
(C) 1999-2009 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file db.c.
Close driver/database connection.
| driver | db driver |
Definition at line 61 of file db.c.
References db_close_database(), DB_FAILED, DB_OK, db_shutdown_driver(), and G_debug().
Referenced by db_delete_table(), db_get_table_number_of_rows(), db_table_exists(), Gp_load_sites_thematic(), IL_vector_input_data_2d(), NetA_get_node_costs(), NetA_init_timetable_from_db(), V1_close_ogr(), V1_close_pg(), Vect_cats_set_constraint(), Vect_copy_table_by_cats(), Vect_get_column_names(), Vect_get_column_names_types(), Vect_get_column_types(), Vect_net_build_graph(), Vect_net_ttb_build_graph(), Vect_rename(), Vect_set_varray_from_db(), and Vect_write_ascii().
Open driver/database connection.
| drvname | driver name |
| dbname | database name |
Definition at line 28 of file db.c.
References _, db_init_handle(), DB_OK, db_open_database(), db_set_handle(), db_shutdown_driver(), db_start_driver(), G_debug(), G_warning(), and NULL.
Referenced by db_delete_table(), db_table_exists(), Gp_load_sites_thematic(), Gv_load_vect_thematic(), NetA_get_node_costs(), NetA_init_timetable_from_db(), V1_close_nat(), Vect_cats_set_constraint(), Vect_copy_table_by_cats(), Vect_net_build_graph(), Vect_net_ttb_build_graph(), Vect_rename(), and Vect_set_varray_from_db().