SELECT * FROM pg_stat_file('pg_log/postgresql.log');
SELECT pg_read_file('pg_log/postgresql.log', 0, 10000);