I need to find size of a table in posgreSQL. I am using following command but it is giving me 0 as an output. Could you please inform me how can I get the size of a table?
INPUT:
select pg_relation_size('tableName');
OUTPUT:
pg_relation_size
0
(1 row)