Open andreyhammer opened 5 years ago
Thank you for reporting this issue.
I will test the fix.
I fixed this issue: https://github.com/pg-monz/pg_monz/commit/8c35c6324e6044ccf75f92278fb3c70aea9c4c9e
Thank you for your report. Could you close this issue.
If table created like:
CREATE TABLE "Table" ( ... );
pgsql_tbl_funcs.sh return error like:relation public.table not found
because public.table != public.Table I fixed this issue by addin double quotes around ${TABLENAME} in select pg_total_relation_size:select '\"$HOST_NAME\"', 'psql.table_total_size[$DBNAME,$SCHEMANAME,$TABLENAME]', $TIMESTAMP_QUERY, (select pg_total_relation_size('${SCHEMANAME}.\"${TABLENAME}\"'))" 2>&1
please review and fix if necessary