HelloYou can use pg_buffercache contrib module: https://www.postgresql.org/docs/current/static/pgbuffercache.html
pg_relation_size - yes, its full size on disk regardless buffer cache
regards, Sergei