Closed aylapear closed 2 years ago
This pull request adds the "core" Postgres functions:
sbf_open_pg()
sbf_close_pg()
sbf_save_pg()
(see comment above for name question)sbf_create_pg()
sbf_execute_pg()
sbf_list_tables_pg()
sbf_save_data_to_pg()
sbf_load_data_to_pg()
sbf_load_datas_to_pg()
Then the parameter setting functions:
sbf_set_schema()
sbf_get_schema()
sbf_reset_schema()
sbf_set_config_file()
sbf_get_config_file()
sbf_reset_config_file()
sbf_set_config_value()
sbf_get_config_value()
sbf_reset_config_value()
The coverage action is failing, I am not entirely sure why it is failing. Based on the error message I am curious if it has to do with a permission issue as we have two since the error message coming out of the action has private in the folder path and the psql package is currently private.
I am able to run the coverage locally and it passes but when I run covr::codecov()
it has a connection error.
R-CMD-check for lasted macOS version is failing while other 4 systems pass. The failure is due to sf not being properly installed. Not sure exact cause of this issue but not due to current new of new code.
Fixed Mac-os sf download issue, it is caused by sf needing to be installed through its binaries at the moment. Linux can't install binaries so split code so linux installs from source and not linux (Mac and windows) install binary. Action is now passing for all operating systems.
Coverage action issue finally fixed, combination of private repo token issue and the lack of sf being properly downloaded. Changed how sf is downloaded by allowing binaries to be downloaded. Also made psql public so token is not required any more.
sbf_save_pg()
to sbf_backup_pg()
sbf_save_pg()
be changed tosbf_copy_pg()
?