You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: