Querying pg_buffercache: relation "pg_buffercache" does not exist
You need to first connect to the database that you need to check the stats from, and in that do the create extension, after which the query should work ;)