sbf_create_pg.Rd
Create a new PostgreSQL database.
A string of the name of the new database to create.
A string of a file path to the yaml configuration file.
The default value grabs the file path from the psql.config_path option
and uses NULL
if no value supplied.
A string of the name of value. The default value grabs
the value from the psql.config_value option and uses "default"
if no
value is supplied.
TRUE (or errors).
Wrapper on psql::psql_create_db()
Other postgresql functions:
sbf_backup_pg()
,
sbf_close_pg()
,
sbf_execute_pg()
,
sbf_get_config_file()
,
sbf_get_config_value()
,
sbf_get_schema()
,
sbf_list_tables_pg()
,
sbf_load_data_from_pg()
,
sbf_load_datas_from_pg()
,
sbf_open_pg()
,
sbf_reset_config_file()
,
sbf_reset_config_value()
,
sbf_reset_schema()
,
sbf_save_data_to_pg()
,
sbf_set_config_file()
,
sbf_set_config_value()
,
sbf_set_schema()
if (FALSE) { # \dontrun{
sbf_create_pg("new_database")
sbf_create_pg("new_database", config_path = "keys/config.yml")
} # }