Thank you for reading this post, don't forget to subscribe!
SELECT SUM(pg_column_size(table_name.*))/COUNT(*) FROM tablename;
SELECT SUM(pg_column_size(table_name.column_name))/COUNT(*) FROM tablename;
где tablename — имя таблицы,
column_name — имя колонки