NEWS.md
create_table, keep_rows_where, drop_table) now quote role_create_table via DBI::dbQuoteIdentifier() when emitting SET ROLE. Previously the role name was interpolated raw, which broke on identifiers containing hyphens, mixed case, or reserved words (e.g. SET ROLE token-user -> syntax error), and was a SQL-injection vector if the value came from an env var.csdb_set_auth_hook(), csdb_get_auth_hook()) to allow automatic credential refresh (e.g., Kerberos tickets) when connection failsrole_create_table is now included for dbconnection_v9/dbtable_v9, so that the role can be changed when creating tables in PostgreSQL.get_table_names_and_nrow is now changed to get_table_names_and_info and also includes size_total_gb, size_data_gb, size_index_gb.info is now included as a method for DBTable_v9
confirm_indexes is now added to DBTable_v9, which confirms that the names and number of indexes in the database are the same as in the R code. It does not confirm the contents of the indexes!nrow is now added to DBTable_v9, which is an application of the new get_table_names_and_nrow function.get_table_names_and_nrow added as an exported function, that will get all the table names and the nrows from a dbconnection.