postgresql – Postgres – get list of table that no query has run against them

Is there a way to get list of Tables that has not been used for specific number of days?

For example of no Query has run against that table for specific number of days?

I wrote this query, but it’s not really giving me the output I am expecting:

select relname from pg_stat_user_tables where (idx_tup_fetch + seq_tup_read)= 0 order by relname