con
R/postgres.R
pg_total_relation_size.Rd
Uses Postgres' pg_total_relation_size
to get the value, and
pg_size_pretty
to try and make it human readable directly
pg_total_relation_size(con, table_name, pretty = TRUE)
DBI connection to the database
character with the table name you want to check
logical, if TRUE use pg_size_pretty
character if pretty=TRUE, numeric otherwise